2026-05-01 00:29:06 +03:00
{{ define "admin/header.html" }}
< header class = "admin-taskbar" aria-label = "Admin navigation" >
< a class = "admin-start-button" href = "/admin/dashboard" >
< span class = "admin-start-logo" > W< / span >
< span > WarpBox< / span >
< / a >
< nav class = "admin-taskbar-nav" aria-label = "Primary" >
2026-05-01 00:46:10 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " dashboard " } } is-active { { end } } " href = "/admin/dashboard" > Dashboard< / a >
< a class = "admin-taskbar-button{{ if eq .ActivePage " alerts " } } is-active { { end } } " href = "/admin/alerts" > Alerts< / a >
2026-05-01 01:51:06 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " boxes " } } is-active { { end } } " href = "/admin/boxes" > Boxes< / a >
2026-05-04 00:00:36 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " activity " } } is-active { { end } } " href = "/admin/activity" > Activity< / a >
2026-05-01 02:34:47 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " users " } } is-active { { end } } " href = "/admin/users" > Users< / a >
2026-05-04 00:00:36 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " security " } } is-active { { end } } " href = "/admin/security" > Security< / a >
2026-05-01 01:51:06 +03:00
< a class = "admin-taskbar-button{{ if eq .ActivePage " settings " } } is-active { { end } } " href = "/admin/settings" > Settings< / a >
2026-05-01 00:29:06 +03:00
< / nav >
< div class = "admin-taskbar-session" aria-label = "Admin session summary" >
2026-05-04 10:54:44 +03:00
< a class = "admin-alert-chip {{ with .AlertChipClass }}{{ . }}{{ else }}is-info{{ end }}" href = "/admin/alerts" id = "topAlertChip" > {{ with .AlertChipLabel }}{{ . }}{{ else }}Alerts{{ end }}< / a >
2026-05-01 00:29:06 +03:00
< span class = "admin-session-chip" > signed in: {{ .AdminUsername }}< / span >
< / div >
< / header >
{{ end }}