diff options
Diffstat (limited to 'public/submit-queue.tmpl.html')
-rw-r--r-- | public/submit-queue.tmpl.html | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/public/submit-queue.tmpl.html b/public/submit-queue.tmpl.html index cc159d5cadf4..2d02ce36a931 100644 --- a/public/submit-queue.tmpl.html +++ b/public/submit-queue.tmpl.html @@ -60,6 +60,34 @@ {{ block "series" .series }}{{ end }} <h2 id="region-log">History</h2> - </div> + + <div id="history-accordion"> + {{ range $i, $result := .results }} + <div class="card"> + <div class="card-header"> + <h5 class="mb-0"> + <button class="btn btn-link" data-toggle="collapse" data-target="history-collapse-{{ $i }}"> + Result Item {{ $i }}, {{ $result.StartTime.Format "Jan 02, 2006 15:04:05 UTC"}} - {{ $result.EndTime.Format "Jan 02, 2006 15:04:05 UTC"}} + </button> + </h5> + </div> + <div id="history-collapse-{{ $i }}" class="collapse show" data-parent="#history-accordion"> + <div class="card-body"> + <!--// TODO: currentlyRunning, HEAD--> + {{ if $result.Error }} + <div class="text-danger">{{ $result.Error }}</div> + {{ end }} + <ul> + {{ range $logEntry := $result.LogEntries }} + <li>{{ $logEntry }}</li> + {{ end }} + </ul> + {{ block "series" $result.Series}}{{ end }} + </div> + </div> + </div> + {{ end }} + </div> + </div> <!-- .container --> </body> </html> |