mark severity by color
This commit is contained in:
parent
9c6498d134
commit
d9a27613c0
23
list.tmpl
23
list.tmpl
@ -21,6 +21,13 @@ pre {
|
|||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
text-overflow: wrap,ellipsis;
|
text-overflow: wrap,ellipsis;
|
||||||
}
|
}
|
||||||
|
.severity-block { color: red; font-style: bold; }
|
||||||
|
.severity-crash { color: red; }
|
||||||
|
.severity-major { color: brown; }
|
||||||
|
.severity-minor { color: darkorange; }
|
||||||
|
.severity-text { color: black; }
|
||||||
|
.severity-trivial { color: blue; }
|
||||||
|
.severity-tweak { color: grey; }
|
||||||
</style></head>
|
</style></head>
|
||||||
<body>
|
<body>
|
||||||
<h1>GNU Taler Dashboard</h1>
|
<h1>GNU Taler Dashboard</h1>
|
||||||
@ -43,18 +50,22 @@ pre {
|
|||||||
{{- range $features.ByCategory $cat }}
|
{{- range $features.ByCategory $cat }}
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
{{ 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> {{.Summary}}</summary>
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
<pre>{{ .Description }}</pre>
|
<span class="severity-{{.Severity.Name}}">{{.Summary}}</span><br>
|
||||||
|
</summary>
|
||||||
|
<pre>{{ .Description }}</pre>
|
||||||
</details>
|
</details>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<h4>Issues</h4>
|
<h4>Issues</h4>
|
||||||
{{- range $issues.ByCategory $cat }}
|
{{- range $issues.ByCategory $cat }}
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
{{ 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> {{.Summary}}</summary>
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
<pre>{{ .Description }}</pre>
|
<span class="severity-{{.Severity.Name}}">{{.Summary}}</span><br>
|
||||||
|
</summary>
|
||||||
|
<pre>{{ .Description }}</pre>
|
||||||
</details>
|
</details>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
14
table.tmpl
14
table.tmpl
@ -34,6 +34,13 @@ tr:hover {
|
|||||||
.minh {
|
.minh {
|
||||||
min-height: 5em;
|
min-height: 5em;
|
||||||
}
|
}
|
||||||
|
.severity-block { color: red; font-style: bold; }
|
||||||
|
.severity-crash { color: red; }
|
||||||
|
.severity-major { color: brown; }
|
||||||
|
.severity-minor { color: darkorange; }
|
||||||
|
.severity-text { color: black; }
|
||||||
|
.severity-trivial { color: blue; }
|
||||||
|
.severity-tweak { color: grey; }
|
||||||
summary {
|
summary {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -112,7 +119,8 @@ details[open].issue {
|
|||||||
</summary>
|
</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> {{.Summary}}<br>
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
|
<span class="severity-{{.Severity.Name}}">{{.Summary}}</span><br>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
</details>
|
</details>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -123,7 +131,9 @@ details[open].issue {
|
|||||||
</summary>
|
</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> {{.Summary}}<br>{{end}}
|
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
|
||||||
|
<span class="severity-{{.Severity.Name}}">{{.Summary}}</span><br>
|
||||||
|
{{- end}}
|
||||||
</details>
|
</details>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</div></td>{{ end }}
|
</div></td>{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user