Browse Source

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

master
Drew DeVault 4 years ago
committed by Simon Ser
parent
commit
5a73ca6ebb
No known key found for this signature in database GPG Key ID: FDE7BE0E88F5E48
3 changed files with 15 additions and 0 deletions
  1. +3
    -0
      themes/alps/address-book.html
  2. +9
    -0
      themes/alps/assets/style.css
  3. +3
    -0
      themes/alps/mailbox.html

+ 3
- 0
themes/alps/address-book.html View File

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



+ 9
- 0
themes/alps/assets/style.css 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,


+ 3
- 0
themes/alps/mailbox.html 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">


Loading…
Cancel
Save