alps theme: if there's nothing to show, say so
This commit is contained in:
parent
7456c9574c
commit
5a73ca6ebb
3 changed files with 15 additions and 0 deletions
|
@ -34,6 +34,9 @@
|
|||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if not .AddressObjects}}
|
||||
<p class="empty-list">Nothing here yet.</p>
|
||||
{{end}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue