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