mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Added avatars to Audit log
refs. https://github.com/TryGhost/Toolbox/issues/356 - the list needed avatars and action icons to be able to easily scan who's doing a lot of actions and what actions have been done at the same time
This commit is contained in:
parent
a8239bfa97
commit
5f157efcd9
@ -10,7 +10,11 @@
|
||||
<tr>
|
||||
<div class="gh-list-data">
|
||||
<div class="gh-audit-log-object flex items-center ma3">
|
||||
<div class="gh-audit-log-icon">{{svg-jar ev.actionIcon}}</div>
|
||||
<span class="user-list-item-figure" style={{background-image-style (or ev.actor.profileImageUrl ev.actor.iconImage)}}>
|
||||
<span class="hidden">Photo of {{ev.actor.name}}</span>
|
||||
<div class="gh-audit-log-icon">{{svg-jar ev.actionIcon}}</div>
|
||||
</span>
|
||||
{{!-- --}}
|
||||
<div>
|
||||
<div class="gh-audit-log-description">
|
||||
<span>
|
||||
|
@ -2896,12 +2896,6 @@ p.theme-validation-details {
|
||||
color: var(--lightgrey);
|
||||
}
|
||||
|
||||
.gh-audit-log-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0 20px 0 4px;
|
||||
}
|
||||
|
||||
.gh-audit-log-icon svg path {
|
||||
fill: var(--midgrey-l1);
|
||||
}
|
||||
@ -2940,8 +2934,34 @@ p.theme-validation-details {
|
||||
}
|
||||
|
||||
.gh-audit-log-table .user-list-item-figure {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
position: relative;
|
||||
height: 34px;
|
||||
width: 34px;
|
||||
margin-left: 0;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.gh-audit-log-icon {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
right: -7px;
|
||||
bottom: -7px;
|
||||
background: var(--white);
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 999px;
|
||||
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.gh-audit-log-icon svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
.gh-audit-log-icon svg path {
|
||||
fill: var(--midgrey-l1);
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
|
Loading…
Reference in New Issue
Block a user