aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/alps/address-book.html3
-rw-r--r--themes/alps/assets/style.css9
-rw-r--r--themes/alps/mailbox.html3
3 files changed, 15 insertions, 0 deletions
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}}
</div>
{{end}}
+ {{if not .AddressObjects}}
+ <p class="empty-list">Nothing here yet.</p>
+ {{end}}
</div>
</section>
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 }}
</div>
{{ end }}
+ {{if not .Messages}}
+ <p class="empty-list">Nothing here yet.</p>
+ {{end}}
</div>
</section>
<section class="actions">