diff --git a/web/static/css/theme.css b/web/static/css/theme.css index 735c6ec..33b6a2a 100644 --- a/web/static/css/theme.css +++ b/web/static/css/theme.css @@ -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; } \ No newline at end of file diff --git a/web/templates/admin/dashboard.html b/web/templates/admin/dashboard.html index 4476a6b..949372a 100644 --- a/web/templates/admin/dashboard.html +++ b/web/templates/admin/dashboard.html @@ -126,7 +126,7 @@ Certification Photos - {{if .NavCertificationPhotos}}{{.NavCertificationPhotos}}{{end}} + {{if .NavCertificationPhotos}}{{.NavCertificationPhotos}}{{end}}
  • diff --git a/web/templates/admin/feedback.html b/web/templates/admin/feedback.html index 329ef8b..62ba733 100644 --- a/web/templates/admin/feedback.html +++ b/web/templates/admin/feedback.html @@ -135,6 +135,14 @@ {{end}} + + + Date: + + + {{.CreatedAt.Format "2006-01-02 15:04:05 MST"}} + +
    diff --git a/web/templates/base.html b/web/templates/base.html index a8ae38f..0dfc4d3 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -282,10 +282,23 @@ {{end}} {{if gt .NavAdminNotifications 0}} + + {{if and (.NavCertificationPhotos) (not .NavAdminFeedback)}} + + + {{.NavAdminNotifications}} + + {{else if and .NavCertificationPhotos .NavAdminFeedback}} + + + {{.NavAdminNotifications}} + + {{else}} {{.NavAdminNotifications}} + {{end}} {{end}}
    {{end}}