diff --git a/less/admin.less b/less/admin.less index 183040c..9c4a7c2 100644 --- a/less/admin.less +++ b/less/admin.less @@ -9,6 +9,19 @@ header.admin { margin-left: 1em; } } +nav#admin { + display: block; + margin: 0.5em 0; + a { + color: @primary; + &:first-child { + margin-left: 0; + } + &.selected { + font-weight: bold; + } + } +} .pager { display: flex; justify-content: center; diff --git a/templates/user/admin.tmpl b/templates/user/admin.tmpl index 7628a48..a6e1389 100644 --- a/templates/user/admin.tmpl +++ b/templates/user/admin.tmpl @@ -43,13 +43,13 @@ function savePage(el) {
-

Admin Dashboard

+ {{template "admin-header" .}} {{if .Message}}

{{.Message}}

{{end}} +

On this page