From cb37df882edc51ed47f4b353ce42eabd80416b19 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 19 Nov 2020 11:17:40 -0500 Subject: Add notices on action completion --- themes/alps/assets/style.css | 7 +++++++ themes/alps/mailbox.html | 2 +- themes/alps/nav.html | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index e07f4e2..e4a0d35 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -118,6 +118,13 @@ header nav div { float: right; } header nav div > a{ margin-left: 1rem; } header a.active { font-weight: bold; color: black; text-decoration: none; } +header .notice { + color: #0c5460; + background-color: #d1ecf1; + border: 1px solid #bee5eb; + padding: 0.5rem; + text-align: center; +} footer { text-align: right; } diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html index 9a4c9ce..a3a2e6a 100644 --- a/themes/alps/mailbox.html +++ b/themes/alps/mailbox.html @@ -21,7 +21,7 @@ {{ $classes = printf "%s %s" $classes "message-list-deleted" }} {{ end }} - {{ if not (.HasFlag "\\Deleted") }} + {{ if and (not (.HasFlag "\\Deleted")) .Envelope }}
diff --git a/themes/alps/nav.html b/themes/alps/nav.html index d7eee9c..8fccea4 100644 --- a/themes/alps/nav.html +++ b/themes/alps/nav.html @@ -30,4 +30,10 @@ {{ end }} + {{ if .GlobalData.Notice }} +
+ {{ .GlobalData.Notice }} + Dismiss +
+ {{ end }} -- cgit v1.2.3