mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
commit
ebb81a01e1
4 changed files with 43 additions and 4 deletions
|
@ -108,6 +108,14 @@ a.user-list-item {
|
|||
font-size: 12px;
|
||||
}
|
||||
|
||||
.user-list-item-body .description-error {
|
||||
display: inline-block;
|
||||
margin-top: 3px;
|
||||
color: var(--red);
|
||||
white-space: nowrap;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.user-list-item-aside .user-list-action:not(:first-of-type) {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,35 @@
|
|||
--font-family-mono: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
}
|
||||
|
||||
/* Colour classes
|
||||
/* ---------------------------------------------------------- */
|
||||
.darkgrey {
|
||||
color: var(--darkgrey);
|
||||
}
|
||||
|
||||
.midgrey {
|
||||
color: var(--midgrey);
|
||||
}
|
||||
|
||||
.lightgrey {
|
||||
color: var(--lightgrey);
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.red {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.orange {
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
.green {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
/* Layout
|
||||
/* ---------------------------------------------------------- */
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{user.name}}
|
||||
</span>
|
||||
<br>
|
||||
<span class="description">Last seen: {{component.last_login}}</span>
|
||||
<span class="description">Last seen: {{component.lastLogin}}</span>
|
||||
</div>
|
||||
<aside class="user-list-item-aside">
|
||||
{{#unless session.user.isAuthor}}
|
||||
|
@ -15,4 +15,4 @@
|
|||
<span class="role-label {{role.lowerCaseName}}">{{role.name}}</span>
|
||||
{{/each}}
|
||||
{{/unless}}
|
||||
</aside>
|
||||
</aside>
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
<span class="user-list-item-icon icon-mail">ic</span>
|
||||
<div class="user-list-item-body">
|
||||
<span class="name">{{user.email}}</span><br>
|
||||
{{#if user.model.pending}}
|
||||
<span class="red">Invitation not sent - please try again</span>
|
||||
{{#if user.pending}}
|
||||
<span class="description-error">
|
||||
Invitation not sent - please try again
|
||||
</span>
|
||||
{{else}}
|
||||
<span class="description">
|
||||
Invitation sent: {{component.createdAt}}
|
||||
|
|
Loading…
Add table
Reference in a new issue