From: Laury GvR Date: Thu, 1 Oct 2015 20:30:12 +0000 (-0400) Subject: New structure for list and detail pages. New styles, too. X-Git-Tag: v1.0.23^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c521d70bbf16c5c168ff96e41177e42a1b260030;p=WP-Plugins%2Fglm-member-db.git New structure for list and detail pages. New styles, too. --- diff --git a/css/front.css b/css/front.css index 812b829a..c1d38861 100644 --- a/css/front.css +++ b/css/front.css @@ -38,7 +38,7 @@ /* Member List */ .glm-member-list-container { border: 1px #ccc solid; - padding: .4em 0px 0px 0px; +/* padding: .4em 0px 0px 0px;*/ background: #f8f8f8; margin: .4em 0px .4em 0px; } @@ -47,11 +47,19 @@ padding: .4em; margin: 1em 0px 1em 0px; } -.glm-member-list-image-right { - float: right; +.glm-member-list-image { + width: 100%; + height: auto; + min-width: 300px; + min-height: 200px; } -.glm-member-list-image-left { - float: left; +.glm-member-detail-image { + max-height: 200px; + border-color: lightgrey; + border-image: none; + border-style: solid solid solid none; + border-width: 2px 2px 2px 0; + border-top-right-radius: 5px; } .glm-member-list-nameAddress { } @@ -61,11 +69,25 @@ .glm-member-list-items { margin-top: .5em; } +.glm-member-list-image-wrapper { + padding: 0; + overflow: hidden; +} +.glm-member-list-description { + padding: 20px 20px 20px 0; +} +.glm-member-list-active-info h2 a { + text-decoration: underline; +} +.glm-member-list-active-info { + padding: 15px; + left: -20px; +} /* Member Detail */ .glm-member-detail-container { border: 1px #ccc solid; - padding: .4em 0px 0px 0px; +/* padding: .4em 0px 0px 0px;*/ background: #f8f8f8; margin: .4em 0px .4em 0px; } @@ -80,7 +102,34 @@ .glm-member-detail-items { margin-top: .5em; } - +.glm-member-detail-image-wrapper { + padding: 0; + max-height: 200px; + overflow: hidden; +} +.glm-member-detail-button { + padding: 10px 20px; + border-radius: 6px; +} +.glm-member-detail-container, +.glm-member-entry-container, +.glm-member-list-container { + background-image: -moz-linear-gradient(top, #ffffff, #E9F0F7); + background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #E9F0F7)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#E9F0F7'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#E9F0F7')"; + margin-bottom: 5px; + border-radius: 5px; +} +.glm-member-detail-container #glm-locationMap-container { + padding: 0; +} +#glm-member-detail-amenities-container table { + width: 100%; +} +#glm-member-detail-amenities-container table tbody tr th { + background-color: #c4e2f0; +} /* Alpha Lists */ .glm-alpha-links { clear: both; @@ -103,7 +152,10 @@ .glm-map { width: 100%; height:200px; - border: 2px black solid; + border-color: lightgrey; + border-image: none; + border-style: solid none solid solid; + border-width: 2px 0 2px 2px; margin: 10px 0 10px 0; } /* overrride whatever was causing the 100% width for images in Google Maps */ diff --git a/glm-member-db.php b/glm-member-db.php index 7b0a176a..46d4d3e6 100644 --- a/glm-member-db.php +++ b/glm-member-db.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.0.20 + * Version: 1.0.23 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 diff --git a/views/front/members/detail.html b/views/front/members/detail.html index f555d5d6..cd0bcf81 100644 --- a/views/front/members/detail.html +++ b/views/front/members/detail.html @@ -38,32 +38,18 @@ {/if} - +
- {if $detail_show_map} -
-
(map loads here)
-
- {/if} -
- -
- {if $member.logo && $detail_show_logo} -
-
- -
-
-
- {else} -
- {/if} +

{if $list_show_detaillink} - {$member.member} + + {$member.member} {else} {$member.member} {/if} @@ -89,23 +75,35 @@ {if $detail_show_coupons && $coupons}Coupons{/if} {if $detail_show_packages && $packages}Packages{/if}

-
+
+ {if $detail_show_map} +
+
(map loads here)
+
+ {/if} + {if $detail_show_logo} +
+ + +
+ {/if}
-
{if ($member.amenities && $detail_show_amenities) || ($member.cc_type && $detail_show_creditcards) || ($member.categories && $detail_show_categories)}
-
+
{if $member.amenities && $detail_show_amenities} - Amenities & Services -
    + + {foreach $member.amenities as $a} -
  • - {$a.name} -
  • + + + {/foreach} - +
    Amenities & Services
    + {$a.name} +
    {/if} {if $member.cc_type && $detail_show_creditcards} @@ -136,7 +134,7 @@ {else}
    {/if} -
    +
    {if $member.descr && $detail_show_description}{$member.descr}{/if} {if $member.short_descr && $detail_show_short_descr}{$member.short_descr}{/if}
    diff --git a/views/front/members/list.html b/views/front/members/list.html index a97b9da5..47992de3 100644 --- a/views/front/members/list.html +++ b/views/front/members/list.html @@ -78,16 +78,16 @@
    - {if $m.logo && $list_show_logo} -
    + {if $list_show_logo} +
    - - + +
    -
    +
    {else} -
    +
    {/if}

    @@ -111,17 +111,13 @@ {if $m.toll_free && $list_show_tollfree}
    Toll Free: {$m.toll_free}
    {/if} {if $m.region && $list_show_region}

    Region: {$m.region}

    {/if} - -

    -
    - -
    -
    +
    +
    {if $m.short_descr && $list_show_short_descr} {$m.short_descr} ... View Profile @@ -165,8 +161,10 @@

    {/if}
    -
    -
    + +
    +
    +