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/list.tmpl | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'templates/list.tmpl') diff --git a/templates/list.tmpl b/templates/list.tmpl index dcc6ee8..ad2e538 100644 --- a/templates/list.tmpl +++ b/templates/list.tmpl @@ -1,21 +1,23 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
List {{.List.Title}}
+

List {{.List.Title}}

- - +
+ + +
-
Users
+

Users

{{if .Accounts}} {{range .Accounts}} - - +
{{template "userlistitem.tmpl" (WithContext . $.Ctx)}} + {{template "userlistitem.tmpl" (WithContext . $.Ctx)}}
@@ -26,16 +28,16 @@ {{end}}
{{else}} -
No data found
+

No data found

{{end}} -
Add user
- - +

Add user

+ +
- - - + + +
{{if .Q}} @@ -55,7 +57,7 @@ {{end}} {{else}} -
No data found
+

No data found

{{end}} {{end}} -- cgit v1.2.3