-layout tweak
This commit is contained in:
parent
d9a27613c0
commit
dc332d17d9
20
table.tmpl
20
table.tmpl
@ -44,8 +44,9 @@ tr:hover {
|
|||||||
summary {
|
summary {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
gap: 2em;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5px;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.assignment {
|
.assignment {
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
@ -84,7 +85,7 @@ details[open].issue {
|
|||||||
<body>
|
<body>
|
||||||
<h1>GNU Taler Dashboard</h1>
|
<h1>GNU Taler Dashboard</h1>
|
||||||
<h2>Table view | <a href="/list">List View</a></h2>
|
<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 }}
|
{{- with .Lasterror }}, Last error: {{ . }} {{end }}
|
||||||
{{- $top := . -}}
|
{{- $top := . -}}
|
||||||
{{- $features := .Features -}}
|
{{- $features := .Features -}}
|
||||||
@ -93,6 +94,7 @@ details[open].issue {
|
|||||||
<!--p>
|
<!--p>
|
||||||
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
|
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
|
||||||
</p-->
|
</p-->
|
||||||
|
Total {{ len $issues }} entries
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="side"></th>
|
<th class="side"></th>
|
||||||
@ -114,9 +116,10 @@ details[open].issue {
|
|||||||
{{- with $version := $versions.Get . }}
|
{{- with $version := $versions.Get . }}
|
||||||
<td><div class="minh">{{ with $features.ByCategoryAndTarget $cat $tar }}
|
<td><div class="minh">{{ with $features.ByCategoryAndTarget $cat $tar }}
|
||||||
<details class="feature">
|
<details class="feature">
|
||||||
<summary>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}
|
<summary>
|
||||||
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} <span class="assignment">({{ $unassigned}} unassigned)</span>{{ end -}}
|
<div>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}</div>
|
||||||
</summary>
|
<div class="assignment">{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }}({{ $unassigned}} unassigned){{ end -}}</div>
|
||||||
|
</summary>
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
||||||
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
@ -126,9 +129,10 @@ details[open].issue {
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $issues.ByCategoryAndTarget $cat $tar }}
|
{{- with $issues.ByCategoryAndTarget $cat $tar }}
|
||||||
<details class="issue">
|
<details class="issue">
|
||||||
<summary>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}
|
<summary>
|
||||||
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} <span class="assignment">({{ $unassigned}} unassigned)</span>{{ end -}}
|
<div>{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}</div>
|
||||||
</summary>
|
<div class="assignment">{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} ({{ $unassigned}} unassigned){{ end -}}</div>
|
||||||
|
</summary>
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
|
||||||
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user