diff options
| author | Gitea <gitea@fake.local> | 2024-01-04 14:02:45 +0000 | 
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2024-01-04 14:02:45 +0000 | 
| commit | 173aa7dda433cc24ac1dc2f8f0197b3797cdaa78 (patch) | |
| tree | a8bc944c75b94afca2730612b52d9591f72ff526 | |
| parent | e41af1f665ef36b83945e96ccbb03d9083cfa402 (diff) | |
put meta info to bottom
| -rw-r--r-- | list.tmpl | 9 | ||||
| -rw-r--r-- | table.tmpl | 16 | 
2 files changed, 17 insertions, 8 deletions
| @@ -63,20 +63,17 @@ pre {    <body>      <h1>GNU Taler Dashboard</h1>      <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}}      {{- $top := . }}      {{- $features := .Features }}      {{- $issues := .Issues }}      {{- $versions := .VersionsByDate }}      {{- $sorter :=  OrderedBy "Severity" "Handler" "Id" -}} -    Total: {{ len $features }} features and {{ len $issues }} issues.      <!-- p>      {{- range $top.Tags }}        <button>{{ . }}</button>      {{ end -}}      </p --> -      {{- range $cat := $top.Categories }}        <h3 class="category">{{ $cat }}</h3>          {{- range $tar := $top.TargetVersions }} @@ -123,6 +120,10 @@ pre {  	{{end}}      {{ end -}}      <p> -    <i>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </i> +    Total: {{ len $features }} features and {{ len $issues }} issues. +    <br>Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, +    <br>updated every {{ .Freq }} (no auto-refresh). +    <p> +    <small>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </small>    </body>  </html> @@ -1,10 +1,12 @@  <!DOCTYPE html>    <head><title>GNU Taler Dashboard</title> +<meta name="viewport" content="width=device-width, initial-scale=0.5">  <style>  body {    margin-left:1%;    margin-right:1%;    font-family:sans-serif; +  font-size: 12pt;  }  table {     background: white; @@ -68,6 +70,10 @@ details.version {    white-space: normal;    text-align: justify;  } +.right { +text-align: right; +font-size:0.8em; +}  details[open].feature {    background: ghostwhite;    border: 4px powderblue solid; @@ -80,7 +86,6 @@ details[open].issue {    <body>      <h1>GNU Taler Dashboard</h1>      <h2>Table view | <a href="/list">List View</a></h2> -    Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updated every {{ .Freq }} (no auto-refresh).      {{- with .Lasterror }} Last error: {{ . }} {{end }}      {{- $top := . -}}      {{- $features := .Features -}} @@ -89,7 +94,6 @@ details[open].issue {      <!--p>      {{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}      </p--> -    Total: {{ len $features }} features and {{ len $issues }} issues.      <table>        <tr>          <th class="side"></th> @@ -97,7 +101,7 @@ details[open].issue {          {{- with $version := $versions.Get . }}            <th>                <details class="version"> -              <summary><b>{{ $vname }}</b> ({{ $version.Timestamp.Format "02 Jan 06"}})</summary> +              <summary><b>{{ $vname }}</b> <span class="right">({{ $version.Timestamp.Format "02 Jan 06"}})</span></summary>                <div>{{ $version.Description }}</div>              </details>            </th> @@ -143,6 +147,10 @@ details[open].issue {        {{- end}}      </table>      <p> -    <i>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </i> +    Total: {{ len $features }} features and {{ len $issues }} issues. +    <br>Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, +    <br>updated every {{ .Freq }} (no auto-refresh). +    <p> +    <small>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </small>    </body>  </html> | 
