alps theme: if there's nothing to show, say so

This commit is contained in:
Drew DeVault 2020-05-13 14:28:46 -04:00 committed by Simon Ser
parent 7456c9574c
commit 5a73ca6ebb
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 15 additions and 0 deletions

View file

@ -34,6 +34,9 @@
{{end}}
</div>
{{end}}
{{if not .AddressObjects}}
<p class="empty-list">Nothing here yet.</p>
{{end}}
</div>
</section>

View file

@ -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,

View file

@ -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">