margin-right: 5px;
}
-/*
+/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
-@media
+@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
#wpbody-content #glm-admin-contact-wrapper #searchForm tbody,
#wpbody-content #glm-admin-contact-wrapper #searchForm th,
#wpbody-content #glm-admin-contact-wrapper #searchForm td,
- #wpbody-content #glm-admin-contact-wrapper #searchForm tr {
- display: block;
+ #wpbody-content #glm-admin-contact-wrapper #searchForm tr {
+ display: block;
}
-
+
/* Hide table headers (but not display: none;, for accessibility) */
- #wpbody-content #glm-admin-contact-wrapper #searchForm thead tr {
+ #wpbody-content #glm-admin-contact-wrapper #searchForm thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
-
+
#wpbody-content #glm-admin-contact-wrapper #searchForm tr { border: 1px solid #ccc; }
-
- #wpbody-content #glm-admin-contact-wrapper #searchForm td {
+
+ #wpbody-content #glm-admin-contact-wrapper #searchForm td {
/* Behave like a "row" */
border: none;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid #eee;
position: relative;
- padding-left: 25%;
+ padding-left: 25%;
}
-
- #wpbody-content #glm-admin-contact-wrapper #searchForm td:before {
+
+ #wpbody-content #glm-admin-contact-wrapper #searchForm td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 6px;
left: 6px;
- width: 25%;
- padding-right: 10px;
+ width: 25%;
+ padding-right: 10px;
white-space: nowrap;
}
/* Label the data */
#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%;
text-align: center;
}
#glm-admin-contact-wrapper .glm-contact-top-buttons > * {
- margin: 10px auto 10px;
+ /* margin: 10px auto 10px; */
float: none;
clear: both;
}
<div id="glm-admin-contact-wrapper">
- {if $fromMemberMenu}
- {include file='admin/member/header.html'}
+
+ {if !$contactEditOwnRecord}
+ {if $fromMemberMenu}
+ {include file='admin/member/header.html'}
+ {else}
+ {include file='admin/contacts/header.html'}
+ {/if}
{else}
- {include file='admin/contacts/header.html'}
+
+ <div class="wrap">
+ <h2>My Contact Profile</h2>
+ <div id="glm-admin-content-container">
+
{/if}
{if $userDeleted}
</script>
-{include file='admin/footer.html'}
+{* include file='admin/footer.html' *}
+ </div> <!-- / admin content area -->
+</div> <!-- / wrap -->
</div> <!-- / admin content area -->
+ {*
<div class="glm-copyright">
{$glmPluginName}<br>
Copyright © 2014-{$thisYear} Gaslight Media - All Rights Reserved<br>
Phone: 231-487-0692 - E-Mail: info@gaslightmedia.com<br>
<a href="http://www.gaslightmedia.com">http://www.gaslightmedia.com</a>
</div>
-
-
-</div> <!-- / wrap -->
\ No newline at end of file
+ *}
+
+</div> <!-- / wrap -->