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

Loading…
Cancel
Save