Display empty list message

This commit is contained in:
r 2020-02-26 16:31:49 +00:00
parent d5230852cf
commit 35a8c247d9
2 changed files with 7 additions and 1 deletions

View file

@ -426,7 +426,7 @@ a:hover,
}
.search-form {
margin: 16px 0 0 0;
margin: 16px 0 16px 0;
}
.more-container {
@ -473,6 +473,10 @@ a:hover,
margin-right: 8px;
}
.no-data-found {
margin: 12px 0;
}
.dark {
background-color: #222222;
background-image: none;

View file

@ -20,6 +20,8 @@
{{if eq .Type "statuses"}}
{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{else}}
<div class="no-data-found">No data found</div>
{{end}}
{{end}}