From 1d61f1aa27376e778b7a517fdd5739a8c1976d2e Mon Sep 17 00:00:00 2001 From: r Date: Thu, 28 Dec 2023 13:27:30 +0000 Subject: Update the default theme This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support. --- templates/search.tmpl | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'templates/search.tmpl') diff --git a/templates/search.tmpl b/templates/search.tmpl index 0473d4a..076858e 100644 --- a/templates/search.tmpl +++ b/templates/search.tmpl @@ -1,27 +1,28 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
Search
+

Search

-
- - - - - - - - - + +

+ + + +

{{if eq .Type "statuses"}} {{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} {{else}} -{{if .Q}}
No data found
{{end}} +{{if .Q}}

No data found

{{end}} {{end}} {{end}} @@ -29,11 +30,11 @@ {{template "userlist.tmpl" (WithContext .Users $.Ctx)}} {{end}} - + {{template "footer.tmpl"}} {{end}} -- cgit v1.2.3