Skip to content

Node.js based forum software built for the modern web

priv table headers

psychobunnybcb3903446e9
diff --git a/public/less/admin/manage/categories.less b/public/less/admin/manage/categories.less
index 76e68f340a..0f13af4deb 100644
--- a/public/less/admin/manage/categories.less
+++ b/public/less/admin/manage/categories.less
@@ -88,3 +88,30 @@ div.categories {
}
}
+
+.category {
+ .privilege-table {
+ tr > th:first-child {
+ min-width: 150px;
+ }
+
+ .privilege-table-header {
+ background: white;
+
+ th {
+ text-align: center;
+ border-top: 0;
+ text-transform: uppercase;
+ font-size: 9px;
+ }
+
+ .arrowed:after {
+ border-bottom: 1px dashed #ccc;
+ content: "";
+ width: 100%;
+ display: block;
+ padding-top: 5px;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/views/admin/partials/categories/privileges.tpl b/src/views/admin/partials/categories/privileges.tpl
index 497fa71ac0..28b5f0849f 100644
--- a/src/views/admin/partials/categories/privileges.tpl
+++ b/src/views/admin/partials/categories/privileges.tpl
@@ -1,4 +1,10 @@
- <table class="table table-striped table-hover privilege-table">
+ <table class="table table-striped privilege-table">
+ <tr class="privilege-table-header">
+ <th colspan="2"></th>
+ <th class="arrowed" colspan="3">Viewing Privileges</th>
+ <th class="arrowed" colspan="7">Posting Privileges</th>
+ <th class="arrowed" colspan="2">Moderation Privileges</th>
+ </tr><tr><!-- zebrastripe reset --></tr>
<tr>
<th colspan="2">User</th>
<!-- BEGIN privileges.labels.users -->
@@ -34,7 +40,13 @@
<!-- ENDIF privileges.users.length -->
</table>
- <table class="table table-striped table-hover privilege-table">
+ <table class="table table-striped privilege-table">
+ <tr class="privilege-table-header">
+ <th colspan="2"></th>
+ <th class="arrowed" colspan="3">Viewing Privileges</th>
+ <th class="arrowed" colspan="7">Posting Privileges</th>
+ <th class="arrowed" colspan="2">Moderation Privileges</th>
+ </tr><tr><!-- zebrastripe reset --></tr>
<tr>
<th colspan="2">Group</th>
<!-- BEGIN privileges.labels.groups -->