-layout tweak
This commit is contained in:
parent
d9a27613c0
commit
dc332d17d9
16
table.tmpl
16
table.tmpl
@ -44,8 +44,9 @@ tr:hover {
|
||||
summary {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 2em;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.assignment {
|
||||
font-size: smaller;
|
||||
@ -84,7 +85,7 @@ 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"}}, updateting every {{ .Freq }} (no auto-refresh)
|
||||
Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updated every {{ .Freq }} (no auto-refresh).
|
||||
{{- with .Lasterror }}, Last error: {{ . }} {{end }}
|
||||
{{- $top := . -}}
|
||||
{{- $features := .Features -}}
|
||||
@ -93,6 +94,7 @@ details[open].issue {
|
||||
<!--p>
|
||||
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
|
||||
</p-->
|
||||
Total {{ len $issues }} entries
|
||||
<table>
|
||||
<tr>
|
||||
<th class="side"></th>
|
||||
@ -114,8 +116,9 @@ details[open].issue {
|
||||
{{- with $version := $versions.Get . }}
|
||||
<td><div class="minh">{{ with $features.ByCategoryAndTarget $cat $tar }}
|
||||
<details class="feature">
|
||||
<summary>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}
|
||||
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} <span class="assignment">({{ $unassigned}} unassigned)</span>{{ end -}}
|
||||
<summary>
|
||||
<div>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}</div>
|
||||
<div class="assignment">{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }}({{ $unassigned}} unassigned){{ end -}}</div>
|
||||
</summary>
|
||||
{{- range . }}
|
||||
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
||||
@ -126,8 +129,9 @@ details[open].issue {
|
||||
{{- end }}
|
||||
{{- with $issues.ByCategoryAndTarget $cat $tar }}
|
||||
<details class="issue">
|
||||
<summary>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}
|
||||
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} <span class="assignment">({{ $unassigned}} unassigned)</span>{{ end -}}
|
||||
<summary>
|
||||
<div>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}</div>
|
||||
<div class="assignment">{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} ({{ $unassigned}} unassigned){{ end -}}</div>
|
||||
</summary>
|
||||
{{- range . }}
|
||||
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user