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}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{if not .AddressObjects}}
|
||||||
|
<p class="empty-list">Nothing here yet.</p>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -366,6 +366,15 @@ main table tfoot {
|
||||||
margin-left: 0.3rem;
|
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"],
|
input[type="submit"],
|
||||||
.button,
|
.button,
|
||||||
button,
|
button,
|
||||||
|
|
|
@ -55,6 +55,9 @@
|
||||||
{{ .Envelope.Date | formatdate }}
|
{{ .Envelope.Date | formatdate }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{if not .Messages}}
|
||||||
|
<p class="empty-list">Nothing here yet.</p>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="actions">
|
<section class="actions">
|
||||||
|
|
Loading…
Reference in a new issue