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

View File

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