aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit026e5cc8c9f916611cb5000735a2f6f4132bd9f4 (patch)
tree9369d84e13abe6782a6e4e94894ff5e17817cfa0
parent61c174dd2bdabcb4ee953e2e50ea141567515140 (diff)
unify layout
-rw-r--r--list.tmpl15
-rw-r--r--table.tmpl6
2 files changed, 10 insertions, 11 deletions
diff --git a/list.tmpl b/list.tmpl
index 2494501..cb8d63a 100644
--- a/list.tmpl
+++ b/list.tmpl
@@ -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 }}
diff --git a/table.tmpl b/table.tmpl
index 258228b..60ca873 100644
--- a/table.tmpl
+++ b/table.tmpl
@@ -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 }}