From b6cf091ee39b6de93d1740096c7338870d6b19cc Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 9 Aug 2018 13:16:05 -0400 Subject: [PATCH] Remove Type column from admin contact list --- css/admin.css | 19 ++++++++++--------- views/admin/contacts/index.html | 4 +--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/css/admin.css b/css/admin.css index 40a23a6..c3434ff 100644 --- a/css/admin.css +++ b/css/admin.css @@ -128,6 +128,7 @@ padding: 8px; } #glm-table-profile .glm-contact-sub-data-links > a { + cursor: pointer; font-size: 12px; font-weight: bold; margin: 0; @@ -464,6 +465,10 @@ and also iPads specifically. only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { + #wpbody-content #glm-admin-contact-wrapper .wrap { + margin-right: 0; + } + /* Force table to not be like tables anymore */ #wpbody-content #glm-admin-contact-wrapper #searchForm table, #wpbody-content #glm-admin-contact-wrapper #searchForm thead, @@ -501,18 +506,14 @@ only screen and (max-width: 760px), padding-right: 10px; white-space: nowrap; } - /* - Label the data - */ - #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(1):before { content: "Name"; } + /* Label the data */ + #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(1):before { content: "Contact"; } #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(2):before { content: "Active"; } #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(3):before { content: "Primary"; } - #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(4):before { content: "Type"; } - #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(5):before { content: "Access"; } - #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(6):before { content: "User"; } - #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(7):before { content: "Entity"; } + #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(4):before { content: "Access"; } + #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(5):before { content: "User"; } + #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(6):before { content: "Entity"; } - /* Table styles */ #wpbody-content #glm-admin-contact-wrapper #searchForm .wp-list-table { max-width: 100%; diff --git a/views/admin/contacts/index.html b/views/admin/contacts/index.html index 35e3eb3..add86e8 100644 --- a/views/admin/contacts/index.html +++ b/views/admin/contacts/index.html @@ -55,10 +55,9 @@ - + - @@ -77,7 +76,6 @@ -
NameContact Active PrimaryType Access User Entity {$c.active.name} {$c.primary_contact.name}{$c.contact_type.name} {$c.access.name} {$c.username} -- 2.17.1