From 841ac77890bbbe542b73f668ff9cee0eb85209ff Mon Sep 17 00:00:00 2001 From: jholdstock Date: Tue, 19 Sep 2023 11:45:38 +0100 Subject: [PATCH] webapi: Make debug warning banner more distinct. Give the debug banner a unique look by changing its class to "danger", and centering and bolding the text. This helps it to be more noticable when displayed near other banners. --- internal/webapi/templates/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/webapi/templates/header.html b/internal/webapi/templates/header.html index 40ac1d1..7ff8973 100644 --- a/internal/webapi/templates/header.html +++ b/internal/webapi/templates/header.html @@ -67,7 +67,7 @@ {{ if .WebApiCfg.Debug }}
-
+
Web server is running in debug mode - don't do this in production!