From fbfdd075d71cced7e072004f377b417ac5306a98 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 25 Feb 2024 18:18:59 +0100 Subject: [PATCH] improve info and error messages --- src/frontend/templates/layouts/main.html | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/frontend/templates/layouts/main.html b/src/frontend/templates/layouts/main.html index 825bfd2..72646cb 100644 --- a/src/frontend/templates/layouts/main.html +++ b/src/frontend/templates/layouts/main.html @@ -42,23 +42,7 @@ } - - {{if .Error}} -
-

- {{ .Error }} -

-
- {{end}} - - {{if .Message}} -
-

- {{ .Message }} -

-
- {{end}} - + + {{if .Error}} +
+

+ {{ .Error }} +

+
+ {{end}} + + {{if .Message}} +
+

+ {{ .Message }} +

+
+ {{end}} + {{ template "content" . }}