diff --git a/templates/home.tmpl b/templates/home.tmpl index 719808f..f6e631c 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -2,21 +2,24 @@ {{ template "navbar.tmpl" . }}
-
+
+ {{ if .Name -}}

- {{ if .Name -}} - Welcome, {{.Name}}! TODO: find out whether user is an admin and show additional button redirecting to /admin/users, which lists all users, enables manipulating data sources, etc.. -
-
- -
-
- {{- else }} - Please log in. - {{- end -}} + Welcome, {{.Name}}!

+
+
+ + +
+
+ {{- else }} +

+ Please log in. +

+ {{- end -}}
{{ template "footer.tmpl" . }}