mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Added icon to staff user role dropdown field
This commit is contained in:
parent
b8ec55a380
commit
098f5b9d06
2 changed files with 20 additions and 2 deletions
|
@ -117,6 +117,24 @@ input {
|
||||||
/* Input Icons
|
/* Input Icons
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
|
.gh-input svg {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
right: 1.2rem;
|
||||||
|
left: inherit;
|
||||||
|
width: 12px;
|
||||||
|
height: 6px;
|
||||||
|
margin-top: -0.2em;
|
||||||
|
transform: inherit;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
speak: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-input svg path {
|
||||||
|
stroke: var(--midlightgrey);
|
||||||
|
}
|
||||||
|
|
||||||
.gh-input-icon {
|
.gh-input-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
{{#if this.rolesDropdownIsVisible}}
|
{{#if this.rolesDropdownIsVisible}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="user-role">Role</label>
|
<label for="user-role">Role</label>
|
||||||
<div class="gh-input pointer" {{on "click" (action "toggleRoleSelectionModal")}}>{{this.user.role.name}}</div>
|
<div class="gh-input pointer" {{on "click" (action "toggleRoleSelectionModal")}}>{{this.user.role.name}}{{svg-jar "arrow-down-small"}}</div>
|
||||||
<p>What permissions should this user have?</p>
|
<p>What permissions should this user have?</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
@model={{readonly this.user.role}}
|
@model={{readonly this.user.role}}
|
||||||
@confirm={{action "changeRole"}}
|
@confirm={{action "changeRole"}}
|
||||||
@close={{action "toggleRoleSelectionModal"}}
|
@close={{action "toggleRoleSelectionModal"}}
|
||||||
@modifier="change-role" />
|
@modifier="change-role"
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue