unify layout

This commit is contained in:
Özgür Kesim 2023-12-27 13:21:04 +01:00
parent 61c174dd2b
commit 026e5cc8c9
Signed by: oec
GPG Key ID: F136A7F922D018D7
2 changed files with 10 additions and 11 deletions

View File

@ -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 }}

View File

@ -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 }}