From fdfcf7967af7dca15eaaa59792f8e90d6b1f3c39 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 27 Nov 2019 19:18:02 +0100 Subject: [PATCH] submit-queue.tmpl: fix accordion, remove "Current Queue" The Current Queue in fact is just the latest log element. --- public/submit-queue.tmpl.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/public/submit-queue.tmpl.html b/public/submit-queue.tmpl.html index 773a8990f..6fe336159 100644 --- a/public/submit-queue.tmpl.html +++ b/public/submit-queue.tmpl.html @@ -42,13 +42,13 @@ HEAD: - {{ .HEAD }} + {{ .HEAD }} Currently running: {{ if .currentlyRunning }} - started at {{ .currentlyRunning.Format "Jan 02, 2006 15:04:05 UTC" }} + started at {{ .currentlyRunning.Format "2006-01-02 15:04:05 UTC" }} {{ else }} Not currently running {{ end }} @@ -56,24 +56,21 @@ -

Current Queue

- {{ block "series" .series }}{{ end }} - -

History

+

Log

{{ range $i, $result := .results }}
-
-
-
+
- + {{ if $result.Error }}
{{ $result.Error }}
{{ end }}