diff --git a/assets/layouts/base.tmpl b/assets/layouts/base.tmpl index d6ffc5d..cca2ba4 100644 --- a/assets/layouts/base.tmpl +++ b/assets/layouts/base.tmpl @@ -13,12 +13,12 @@ {{ if .Flashes }} {{ $flash := index .Flashes 0 }} -
+
{{ $flash.Message }}
{{ end }} {{ template "content" . }} -
+
senan kelly, 2019 | github diff --git a/assets/layouts/user.tmpl b/assets/layouts/user.tmpl index 164dcc9..6602886 100644 --- a/assets/layouts/user.tmpl +++ b/assets/layouts/user.tmpl @@ -1,5 +1,5 @@ {{ define "content" }} -
+
welcome {{ .User.Name }} | home diff --git a/assets/pages/change_own_password.tmpl b/assets/pages/change_own_password.tmpl index a29a3c7..5549f7f 100644 --- a/assets/pages/change_own_password.tmpl +++ b/assets/pages/change_own_password.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
changing account password
diff --git a/assets/pages/change_password.tmpl b/assets/pages/change_password.tmpl index ff35885..7f274cf 100644 --- a/assets/pages/change_password.tmpl +++ b/assets/pages/change_password.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
changing {{ .SelectedUser.Name }}'s password
diff --git a/assets/pages/create_user.tmpl b/assets/pages/create_user.tmpl index 442bea9..41076ef 100644 --- a/assets/pages/create_user.tmpl +++ b/assets/pages/create_user.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
creating new user
diff --git a/assets/pages/delete_user.tmpl b/assets/pages/delete_user.tmpl index bd638c3..c23cc60 100644 --- a/assets/pages/delete_user.tmpl +++ b/assets/pages/delete_user.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
deleting user {{ .SelectedUser.Name }}
diff --git a/assets/pages/home.tmpl b/assets/pages/home.tmpl index 76a10a5..fb734d7 100644 --- a/assets/pages/home.tmpl +++ b/assets/pages/home.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
stats
@@ -17,7 +17,7 @@
-
+
last.fm
@@ -41,7 +41,7 @@ {{ end }}
-
+
{{ if .User.IsAdmin }} {{/* admin panel to manage all users */}}
@@ -68,7 +68,7 @@
{{ end }}
-
+
recent folders
diff --git a/assets/pages/login.tmpl b/assets/pages/login.tmpl index 41f6087..6eccc7f 100644 --- a/assets/pages/login.tmpl +++ b/assets/pages/login.tmpl @@ -1,5 +1,5 @@ {{ define "content" }} -
+
login
diff --git a/assets/pages/not_found.tmpl b/assets/pages/not_found.tmpl index fe0ee3d..2e46801 100644 --- a/assets/pages/not_found.tmpl +++ b/assets/pages/not_found.tmpl @@ -1,5 +1,5 @@ {{ define "content" }} -
+
page not found
diff --git a/assets/pages/update_lastfm_api_key.tmpl b/assets/pages/update_lastfm_api_key.tmpl index a5f5a40..0bd8061 100644 --- a/assets/pages/update_lastfm_api_key.tmpl +++ b/assets/pages/update_lastfm_api_key.tmpl @@ -1,5 +1,5 @@ {{ define "user" }} -
+
updating last.fm keys
diff --git a/assets/static/main.css b/assets/static/main.css index 12c3a92..69e3c55 100644 --- a/assets/static/main.css +++ b/assets/static/main.css @@ -2,6 +2,11 @@ --pad-size: 1.75rem; } +*, span, div, .mdi { + font-family: monospace; + font-size: 0.8rem; +} + body { max-width: 780px; margin: 0 auto; @@ -27,10 +32,6 @@ table td:first-child::after { } } -* { - font-size: 1rem; -} - form input[type], form select, form textarea { @@ -134,10 +135,6 @@ a:hover { margin-left: auto; } -.mono { - font-family: monospace; -} - .box-title { margin-bottom: 0.5rem; }