From: Laury GvR Date: Fri, 27 Jul 2018 15:04:44 +0000 (-0400) Subject: Added fullprofile toggle, moved notes, fixed collapse links X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=ce57a434adf90e952fb5fd7c77920c45c18ff5be;p=WP-Plugins%2Fglm-member-db-contacts.git Added fullprofile toggle, moved notes, fixed collapse links --- diff --git a/css/admin.css b/css/admin.css index 0d2bf4a..91eed44 100644 --- a/css/admin.css +++ b/css/admin.css @@ -43,6 +43,23 @@ margin-bottom: 5px; margin-top: 0; } +#glm-contact-fullprofile-toggle.selected { + box-shadow: 1px 1px 2px lightgrey inset; + cursor: pointer; +} +#glm-contact-fullprofile-toggle:hover { + box-shadow: 1px 1px 4px lightgrey inset; + cursor: pointer; +} +#glm-contact-fullprofile-toggle { + text-align: center; + padding: 3px 6px; + margin: 10px; + border: 1px solid lightgrey; + border-radius: 3px; + float: right; + width: 85px; +} .glm-contact-content-toggle span { font-size: 11px; font-weight: normal; @@ -75,7 +92,10 @@ .glm-contact-sub-data-links .glm-contact-content-toggle { border: 0; } -#glm-contact-account-profile .glm-contact-sub-data-links { +.glm-contact-sub-data-links .glm-contact-link-to-top { + text-align: right; +} +#glm-table-profile .glm-contact-sub-data-links { border-width: 0 1px 1px 1px; border-color: lightgrey; border-style: solid; diff --git a/views/admin/contacts/edit.html b/views/admin/contacts/edit.html index 3f1642a..61d29b1 100644 --- a/views/admin/contacts/edit.html +++ b/views/admin/contacts/edit.html @@ -201,7 +201,7 @@ - Display/Moderate/Archive: + Display/Moderate/Archive {if $contactInfo.fieldFail.fname}

{$contactInfo.fieldFail.fname}

{/if} - Last Name: + Last Name {if $contactInfo.fieldFail.lname}

{$contactInfo.fieldFail.lname}

{/if} {if $option == 'create'} - Login Username: + Login Username
NOTE: The username cannot be changed once the contact is created. {if $contactInfo.fieldFail.username}

{$contactInfo.fieldFail.username}

{/if} {else} - Login Username: + Login Username {$contactInfo.fieldData.username} {/if} - Login password: + Login password

The password must be at least 8 characters and include at least one number, one letter, and at least one special character. (# . - _ , $ % & !)

@@ -296,7 +296,7 @@ {if $option == 'create'} - Email Address: + Email Address
NOTE: This field is only required for users who will have login privileges. @@ -305,10 +305,10 @@ {else} - Email Address:{$contactInfo.fieldData.email} + Email Address{$contactInfo.fieldData.email} - New Email Address: + New Email Address

To change your E-Mail address, enter your new address here. This address must not be used by any other contact or user in this site.

@@ -342,7 +342,7 @@ {/if} - Profile Image: + Profile Image {if $contactInfo.fieldData.image}
@@ -366,7 +366,7 @@ - Access to Members + Management/Access to {if $membersList && apply_filters('glm_members_menu_members',true)} @@ -412,7 +412,6 @@ -
@@ -548,22 +566,22 @@ Publish on Front End - + Use for Billing Information - + -

Organization/Company Information

+

Organization/Company Mailing Address

- Organization + Organization/Company Name {if $contactInfo.fieldFail.org}

{$contactInfo.fieldFail.org}

{/if} @@ -627,7 +645,7 @@
-
@@ -747,6 +753,24 @@ {/if} +
+

Notes

+
+
+
+ + + + + + +
Notes + + + {if $contactInfo.fieldFail.notes}

{$contactInfo.fieldFail.notes}

{/if} +
+
+
@@ -794,6 +818,10 @@ +
@@ -813,7 +841,7 @@ First Name:{$contactInfo.fieldData.fname} Last Name:{$contactInfo.fieldData.lname} Contact Type:{$contactInfo.fieldData.contact_type.name} - Email Address::{$contactInfo.fieldData.email} + Email Address:{$contactInfo.fieldData.email} Alternate Email Address:{$contactInfo.fieldData.alt_email} Organization:{$contactInfo.fieldData.org} Title/Position:{$contactInfo.fieldData.title} @@ -1140,7 +1168,8 @@ } } checkContactRoleSelect(); - + // once again, I am faced with a justification that seems to forget that I am most familiar with Hunger myself. If you wish to say that + // whatever political degradation our House my suffer is well as long as it leads to personal Transformation // Set masking for phone number fields - see http://digitalbush.com/projects/masked-input-plugin/ $.mask.definitions['e'] = "[A-Za-z0-9: ]"; $(".glm-phone-input").mask("(999) 999-9999? eeeeeeeeeee");