diff options
Diffstat (limited to 'pkg/webui/html/base.html')
-rw-r--r-- | pkg/webui/html/base.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/webui/html/base.html b/pkg/webui/html/base.html index 06328e4..c0138ac 100644 --- a/pkg/webui/html/base.html +++ b/pkg/webui/html/base.html @@ -12,11 +12,10 @@ <span>Login</span> </a> {{ else }} -<a href="/states"{{ if eq .Page.Section "states" }} class="active"{{ end}}> +<a href="/states"{{ if eq .Page.Section "states" }} class="fill"{{ end}}> <i>home_storage</i> <span>States</span> </a> -<hr> <a href="/logout"> <i>logout</i> <span>Logout</span> @@ -39,6 +38,11 @@ <nav class="bottom s">{{ template "nav" . }}</nav> <header> <nav> + {{ if ne .Page.Precedent "" }} + <a href="{{ .Page.Precedent }}" class="button circle chip"> + <i>arrow_back</i> + </a> + {{ end }} <h5 class="max center-align">{{ .Page.Title }}</h5> </nav> </header> |