diff options
author | Özgür Kesim <oec@codeblau.de> | 2023-12-27 13:21:04 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2023-12-27 13:21:04 +0100 |
commit | 026e5cc8c9f916611cb5000735a2f6f4132bd9f4 (patch) | |
tree | 9369d84e13abe6782a6e4e94894ff5e17817cfa0 | |
parent | 61c174dd2bdabcb4ee953e2e50ea141567515140 (diff) |
unify layout
-rw-r--r-- | list.tmpl | 15 | ||||
-rw-r--r-- | table.tmpl | 6 |
2 files changed, 10 insertions, 11 deletions
@@ -2,14 +2,17 @@ <head><title>GNU Taler Dashboard</title></head> <style> body { - margin-left:15%; - margin-right:15%; + margin-left:1%; + margin-right:1%; font-family:sans-serif; } h3 { - margin-left: -10%; color: brown; } +details { + margin-left: 10%; + margin-right: 10%; +} pre { max-width: 100%; overflow: scroll; @@ -18,12 +21,10 @@ pre { </style> <body> <h1>GNU Taler Dashboard</h1> - <a href="/">Table view</a> - <h2>List View</h2> - Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updating every {{.Freq}} + <h2><a href="/">Table view</a> | List View </h2> + Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh) {{ with .Lasterror }}, Last error: {{ . }} {{end}} - <!-- p> {{ $issues := .Issues }} {{ range $issues.Tags }} @@ -1,4 +1,3 @@ - <html> <head><title>GNU Taler Dashboard</title></head> <style> @@ -47,9 +46,8 @@ details { </style> <body> <h1>GNU Taler Dashboard</h1> - <a href="/list">List view</a> - <h2>Table View</h2> - Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} + <h2>Table view | <a href="/list">List View</a></h2> + Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh) {{ with .Lasterror }}, Last error: {{ . }} {{end}} {{ $issues := .Issues }} |