moving the expand all button next to delete contact and return to list
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Aug 2018 17:31:59 +0000 (13:31 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Aug 2018 17:31:59 +0000 (13:31 -0400)
reducing vertical space by moving the expand all button next to the buttons in the header

css/admin.css
views/admin/contacts/edit.html

index a85e54d..67a91c4 100644 (file)
@@ -57,6 +57,7 @@
     margin-bottom: 2px;
     margin-top: 2px;
 }
+
 #glm-contact-fullprofile-toggle.selected {
     box-shadow: 1px 1px 2px lightgrey inset;
     cursor: pointer;
@@ -74,6 +75,8 @@
     margin: 10px;
     float: right;
     width: 85px;
+    position: relative;
+    top: -8px;
 }
 .glm-contact-content-toggle span {
     font-size: 11px;
 /*.glm-contact-content-data:not(#glm-contact-account-contact-container) {*/
     display: none;
 }
-#glm-contact-fullprofile-toggle {
-    border: 1px solid lightgrey;
-    border-radius: 3px;
-    float: right;
-    margin: 10px;
-    padding: 3px 6px;
-    text-align: center;
-    width: 85px;
-}
+
 #glm-table-profile .glm-contact-sub-data-links {
     background: white;
     border-width: 0 1px 1px 1px;
index 32ab7d1..5e52106 100644 (file)
@@ -62,7 +62,7 @@
 
     {else} <!-- !$option -->
 
-
+    
     {if apply_filters('glm_members_permit_admin_member_contacts_edit_contact', true)}
 
     {if $option == 'create' || $option == 'edit'}
         </div>
     {/if}
 
-
+    <div id="glm-contact-fullprofile-toggle" class="">Expand All</div>
     {if $fromMemberMenu}
         <form action="{$thisUrl}?page=glm-members-admin-menu-member" method="post" enctype="multipart/form-data">
             <input type="hidden" name="glm_action" value="contacts">
             <input type="hidden" name="option" value="addNew">
             <input type="hidden" name="create_time" value="now">
             <input type="hidden" name="ref_type" value="{$refType}">
+
         {if $haveMember}
             <input type="hidden" name="ref_dest" value="{$memberData.id}">
         {/if}
         </h2>
 
 
-            <div id="glm-contact-fullprofile-toggle" class="">Expand All</div>
+            
             <div id="glm-table-profile" class="glm-admin-table-outer glm-contact-info-table glm-admin-table">
                 <div id="glm-contact-account-settings-toggle" class="glm-contact-content-toggle {if $contactEditOwnRecord}glm-hidden{/if}">
                     <h3 class="section-title">Account Settings</h3>
 
         checkContactMembersEdit();
         $('#contactRoleSelect').on('change', checkContactMembersEdit);
-
+        // $("#glm-contact-fullprofile-toggle").prependTo( $("#glm-admin-content-container") );
     });
 </script>