mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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 {
|
.privilege-table {
|
||||||
|
td:first-child {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
td[data-delta="true"] > input {
|
td[data-delta="true"] > input {
|
||||||
&:after {
|
&:after {
|
||||||
border-color: @state-success-text;
|
border-color: @state-success-text;
|
||||||
|
|||||||
@@ -32,10 +32,12 @@
|
|||||||
<td>
|
<td>
|
||||||
{{{ if privileges.groups.isPrivate }}}
|
{{{ if privileges.groups.isPrivate }}}
|
||||||
{{{ if (privileges.groups.name == "banned-users") }}}
|
{{{ 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 }}}
|
{{{ 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 }}}
|
{{{ end }}}
|
||||||
|
{{{ else }}}
|
||||||
|
<i class="fa fa-fw fa-none"></i>
|
||||||
{{{ end }}}
|
{{{ end }}}
|
||||||
{privileges.groups.name}
|
{privileges.groups.name}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -15,10 +15,12 @@
|
|||||||
<td>
|
<td>
|
||||||
{{{ if privileges.groups.isPrivate }}}
|
{{{ if privileges.groups.isPrivate }}}
|
||||||
{{{ if (privileges.groups.name == "banned-users") }}}
|
{{{ 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 }}}
|
{{{ 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 }}}
|
{{{ end }}}
|
||||||
|
{{{ else }}}
|
||||||
|
<i class="fa fa-fw fa-none"></i>
|
||||||
{{{ end }}}
|
{{{ end }}}
|
||||||
{privileges.groups.name}
|
{privileges.groups.name}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user