Minor fixes to admin feedback pages
This commit is contained in:
parent
22e8c9129b
commit
0cb3efe577
|
@ -152,7 +152,8 @@ abbr {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
.nonshy-navbar-notification-tag.is-mixed {
|
||||
.nonshy-navbar-notification-tag.is-mixed,
|
||||
.tag.is-mixed {
|
||||
background: linear-gradient(141deg, #ff0537 0, #3ec487 100%);
|
||||
color: #fff;
|
||||
}
|
|
@ -126,7 +126,7 @@
|
|||
<a href="/admin/photo/certification">
|
||||
<i class="fa fa-certificate mr-2"></i>
|
||||
Certification Photos
|
||||
{{if .NavCertificationPhotos}}<span class="tag is-danger ml-1">{{.NavCertificationPhotos}}</span>{{end}}
|
||||
{{if .NavCertificationPhotos}}<span class="tag is-success ml-1">{{.NavCertificationPhotos}}</span>{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -135,6 +135,14 @@
|
|||
{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="has-text-right">
|
||||
<strong>Date:</strong>
|
||||
</td>
|
||||
<td>
|
||||
{{.CreatedAt.Format "2006-01-02 15:04:05 MST"}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="content">
|
||||
|
|
|
@ -282,10 +282,23 @@
|
|||
{{end}}
|
||||
|
||||
{{if gt .NavAdminNotifications 0}}
|
||||
<!-- Color code them by the type -->
|
||||
{{if and (.NavCertificationPhotos) (not .NavAdminFeedback)}}
|
||||
<a class="tag is-success py-4" href="/admin">
|
||||
<span class="icon"><i class="fa fa-peace"></i></span>
|
||||
<small class="nonshy-navbar-notification-count">{{.NavAdminNotifications}}</small>
|
||||
</a>
|
||||
{{else if and .NavCertificationPhotos .NavAdminFeedback}}
|
||||
<a class="tag is-mixed py-4" href="/admin">
|
||||
<span class="icon"><i class="fa fa-peace"></i></span>
|
||||
<small class="nonshy-navbar-notification-count">{{.NavAdminNotifications}}</small>
|
||||
</a>
|
||||
{{else}}
|
||||
<a class="tag is-danger py-4" href="/admin">
|
||||
<span class="icon"><i class="fa fa-peace"></i></span>
|
||||
<small class="nonshy-navbar-notification-count">{{.NavAdminNotifications}}</small>
|
||||
</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user