fix: privileges page - tweak icon position and width, group name wrapping

v1.18.x
Julian Lam 4 years ago
parent 970bd06fd2
commit c729adeb08

@ -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>

Loading…
Cancel
Save