mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: privileges page - tweak icon position and width, group name wrapping
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
}
|
||||
|
||||
.privilege-table {
|
||||
td:first-child {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td[data-delta="true"] > input {
|
||||
&:after {
|
||||
border-color: @state-success-text;
|
||||
|
||||
@@ -32,10 +32,12 @@
|
||||
<td>
|
||||
{{{ if privileges.groups.isPrivate }}}
|
||||
{{{ if (privileges.groups.name == "banned-users") }}}
|
||||
<i class="fa fa-exclamation-triangle text-muted" title="[[admin/manage/categories:privileges.inheritance-exception]]"></i>
|
||||
<i class="fa fa-fw fa-exclamation-triangle text-muted" title="[[admin/manage/categories:privileges.inheritance-exception]]"></i>
|
||||
{{{ else }}}
|
||||
<i class="fa fa-lock text-muted" title="[[admin/manage/categories:privileges.group-private]]"></i>
|
||||
<i class="fa fa-fw fa-lock text-muted" title="[[admin/manage/categories:privileges.group-private]]"></i>
|
||||
{{{ end }}}
|
||||
{{{ else }}}
|
||||
<i class="fa fa-fw fa-none"></i>
|
||||
{{{ end }}}
|
||||
{privileges.groups.name}
|
||||
</td>
|
||||
|
||||
@@ -15,10 +15,12 @@
|
||||
<td>
|
||||
{{{ if privileges.groups.isPrivate }}}
|
||||
{{{ if (privileges.groups.name == "banned-users") }}}
|
||||
<i class="fa fa-exclamation-triangle text-muted" title="[[admin/manage/categories:privileges.inheritance-exception]]"></i>
|
||||
<i class="fa fa-fw fa-exclamation-triangle text-muted" title="[[admin/manage/categories:privileges.inheritance-exception]]"></i>
|
||||
{{{ else }}}
|
||||
<i class="fa fa-lock text-muted" title="[[admin/manage/categories:privileges.group-private]]"></i>
|
||||
<i class="fa fa-fw fa-lock text-muted" title="[[admin/manage/categories:privileges.group-private]]"></i>
|
||||
{{{ end }}}
|
||||
{{{ else }}}
|
||||
<i class="fa fa-fw fa-none"></i>
|
||||
{{{ end }}}
|
||||
{privileges.groups.name}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user