From 693139032591bcf2c49d6313c6d726037be65315 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Thu, 1 Oct 2020 23:40:21 +0000 Subject: [PATCH] Update: Corrected error displays --- admin/listmounts.xsl | 2 +- web/assets/css/style.css | 11 ++++++++--- web/status.xsl | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/admin/listmounts.xsl b/admin/listmounts.xsl index 5fe3084f..544b7eec 100644 --- a/admin/listmounts.xsl +++ b/admin/listmounts.xsl @@ -54,7 +54,7 @@ -
+
No mounts! There are no active mountpoints.
diff --git a/web/assets/css/style.css b/web/assets/css/style.css index 75828a4a..77a6f484 100644 --- a/web/assets/css/style.css +++ b/web/assets/css/style.css @@ -307,8 +307,7 @@ h1, h2, h3, h5 { /* Error messages */ .error { - background-color: #DBCAD5; - color: #5C2949; + background-color: #FF9999; padding: .5em 2em; border: 1px solid #5C2949; } @@ -325,6 +324,12 @@ h1, h2, h3, h5 { padding: .5em 2em; } -.warning strong { +.info { + border: 1px solid #5C2949; + background-color: #ABBBFF; + padding: .5em 2em; +} + +.error > strong, .warning > strong, .info > strong { display: block; } diff --git a/web/status.xsl b/web/status.xsl index adf0ea82..20238e8a 100644 --- a/web/status.xsl +++ b/web/status.xsl @@ -133,7 +133,7 @@ -