From 5a73ca6ebb437c5eed2a9863ab5513facacb6e93 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 13 May 2020 14:28:46 -0400 Subject: [PATCH] alps theme: if there's nothing to show, say so --- themes/alps/address-book.html | 3 +++ themes/alps/assets/style.css | 9 +++++++++ themes/alps/mailbox.html | 3 +++ 3 files changed, 15 insertions(+) diff --git a/themes/alps/address-book.html b/themes/alps/address-book.html index 60292bf..1e4c441 100644 --- a/themes/alps/address-book.html +++ b/themes/alps/address-book.html @@ -34,6 +34,9 @@ {{end}} {{end}} + {{if not .AddressObjects}} +

Nothing here yet.

+ {{end}} diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index c0867c1..b1c2ab7 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -366,6 +366,15 @@ main table tfoot { margin-left: 0.3rem; } +.empty-list { + text-align: center; + grid-column-start: 1; + grid-column-end: 10; + font-size: 1.1rem; + color: #333; + margin-top: 1rem; +} + input[type="submit"], .button, button, diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html index 0225482..dfc79fe 100644 --- a/themes/alps/mailbox.html +++ b/themes/alps/mailbox.html @@ -55,6 +55,9 @@ {{ .Envelope.Date | formatdate }} {{ end }} + {{if not .Messages}} +

Nothing here yet.

+ {{end}}