Adding padding to member edit media images, changing the order of columns in members...
authorLaury GvR <laury@gaslightmedia.com>
Thu, 30 Mar 2017 19:38:42 +0000 (15:38 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 30 Mar 2017 19:38:42 +0000 (15:38 -0400)
css/admin.css
views/admin/member/memberInfo.html
views/admin/member/memberInfo/editMediaImages.html
views/admin/members/list.html

index 83cf9af..cddc0f7 100644 (file)
@@ -144,7 +144,7 @@ input, select, .button {
 /* Member List */
 #glm-admin-content-container .glm-admin-edit-active-profile {
     //background-color: #0568B3;
-    background-color: #e0f8f8;
+    background-color: #e0ffe0;
     //color: white;
     color: black;
 }
@@ -398,6 +398,16 @@ td.glm-nowrap {
     margin: .4em .1em .4em .1em;
     background-color: #eee;
 }
+@media (max-width: 960px) {
+    .glm-galleryContainer {
+        height: 10em;
+    }
+    .glm-galleryContainer input,
+    .glm-galleryContainer textarea {
+        font-size: 12px;
+        padding: 4px 6px;
+    }
+}
 .glm-galleryContainerFlexible
 {
     clear: both;
index 6c077f2..74a7300 100644 (file)
@@ -60,7 +60,6 @@
 
       {/if} <!-- status == 10 -->
         </div>
-        <input id="updateMemberProfile" class="button-primary glm-right" type="submit" value="{if $memberInfoID && $memberInfo}Update {$terms.term_member} profile{else}Add new {$terms.term_member} profile{/if}">
         <h2>Edit {$terms.term_member_cap} Profile</h2>
     {else}
         <h2>Add New {$terms.term_member_cap} Profile</h2>
         {if $memberUpdateError}<span class="glm-error glm-flash-updated glm-right">{$terms.term_member_cap} Profile Update Error</span>{/if}
     </h2>
       
+        <input id="updateMemberProfile" class="button-primary glm-right" type="submit" value="{if $memberInfoID && $memberInfo}Update {$terms.term_member} profile{else}Add new {$terms.term_member} profile{/if}">
+        <br>
+        <br>
         <!-- **** Status, Address and Location **** -->
 
         {include file='admin/member/memberInfo/editProfile.html'}
index bf54aa7..fe00667 100644 (file)
                     <div class="glm-admin-image-edit-table">
         {if $memberInfo.fieldData.logo}
                         <div class="glm-row">
-                            <div class="glm-small-12">
+                            <div class="glm-small-12 glm-medium-6">
                                 <div class="glm-galleryImage" data-id="logo">
                                     <img src="{$glmPluginMediaUrl}/images/small/{$memberInfo.fieldData.logo}">
                                 </div>
                             </div>
-                            <div class="glm-small-12">
+                            <div class="glm-small-11 glm-medium-6 glm-right">
+                                <br>
                                 <input type="checkbox" name="logo_delete"> Delete Image<br>
-                                {$memberInfo.fieldData.logo}<br>
+                                <span>{$memberInfo.fieldData.logo}</span>
+                                <br>
                             </div>
                         </div>
         {/if}
-                        <div class="glm-row"><div class="glm-small-12"><b>New image:</b> <input type="file" name="logo_new"></div></div>
+                        <div class="glm-center"><b>New image:</b> <input type="file" name="logo_new"></div>
                     </div>
                     <div id="glm-galleryImageLarger_logo" class="glm-imageDialog"><img src="{$glmPluginMediaUrl}/images/large/{$memberInfo.fieldData.logo}"></div>
                     {if $memberInfo.fieldFail.logo}<p>{$memberInfo.fieldFail.logo}</p>{/if}
@@ -65,7 +67,7 @@
                                     </div>
                                     <div class="glm-row">
                                         <div class="glm-small-12"><div style="float: right; margin: .2em .2em 0 0;" id="imageUploadCancel" class="button button-primary glm-right">Cancel Upload</div></div>
-                                        <div class="glm-small-12" class="glm-statusPrompt">Name: </div><div class="glm-statusValue">{ fileName }</div>
+                                        <div class="glm-small-12 glm-statusPrompt">Name: </div><div class="glm-statusValue">{ fileName }</div>
                                     </div>
                                     <div class="glm-row"><div class="glm-statusPrompt">Type: </div><div class="glm-statusValue">{ fileType }</div></div>
                                     <div class="glm-row"><div class="glm-statusPrompt">Size: </div><div class="glm-statusValue">{ fileSize }</div></div>
index ab0180e..3d1bd42 100644 (file)
@@ -44,8 +44,9 @@
             <thead>
                 <tr>
                     <th>ID</th>
-                    <th></th>
                     <th>{$terms.term_member_cap} Name</th>
+                    <th></th>
+                    <th></th>
                     <th>Featured</th>
                     <th>Access</th>
 <!--                    <th>$terms.term_member_cap Type</th>-->
             {else}
                 <tr class="alternate">
             {/if}
-                    <td>
+                    <td style="width: 50px;">
                         {$m.id}
                     </td>
+                    <td>
+                        <a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=index&member={$m.id}">{$m.name}</a>
+                    </td>
                     <td style="width: 120px;">
                         <a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=memberInfo&member={$m.id}&memberInfo={$m.active_id}" class="button button-secondary glm-button-small glm-admin-edit-active-profile" style="margin: 0 .2em 0 .2em;">Edit Active Profile</a>
                     </td>
-                    <td>
-                        <a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=index&member={$m.id}">{$m.name}</a>
+                    <td style="width: 120px;">
+                        <a href="{$siteBaseUrl}{$settings.canonical_member_page}/{$m.member_slug}/" target="_blank">View Profile</a>
                     </td>
-                    <td>
+                    <td style="width: 90px;">
                         {$m.featured.name}
                     </td>
-                    <td>
+                    <td style="width: 120px">
                         {$m.access_short.name}
                     </td>
 <!--                    <td>
                         $m.member_type_short
                     </td>-->
-                    <td>
-                        <a href="{$siteBaseUrl}{$settings.canonical_member_page}/{$m.member_slug}/" target="_blank">View {$terms.term_member_cap}</a>
-                    </td>
                 </tr>
         {/foreach}
     {else}