diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-27T18·39+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-27T18·39+0100 |
commit | cd40e68ddea1b52da9eaadb6e8f62c86bcfd3d54 (patch) | |
tree | ffdb318f548cfbc8f9c80e41929f3bb6e7067a70 /public | |
parent | ba62db97e95e87b011d9cc68aade162ef7c8d750 (diff) |
submit-queue.tmpl: move HEAD information to result
Diffstat (limited to 'public')
-rw-r--r-- | public/submit-queue.tmpl.html | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/public/submit-queue.tmpl.html b/public/submit-queue.tmpl.html index b6bc79f6c3a2..27d8e9fdc69e 100644 --- a/public/submit-queue.tmpl.html +++ b/public/submit-queue.tmpl.html @@ -41,10 +41,6 @@ <td>{{ .branchName }}</td> </tr> <tr> - <th scope="row">HEAD:</th> - <td><code>{{ .HEAD }}</code></td> - </tr> - <tr> <th scope="row">Currently running:</th> <td> {{ if .currentlyRunning }} @@ -70,16 +66,34 @@ </div> <div id="history-collapse-{{ $i }}" class="collapse {{ if eq $i 0 }} show{{ end }}" data-parent="#history-accordion"> <div class="card-body"> - <!--// TODO: HEAD--> - {{ if $result.Error }} - <div class="text-danger">{{ $result.Error }}</div> - {{ end }} - <div class="bg-dark text-white"> - {{ range $logEntry := $result.LogEntries }} - <code>{{ $logEntry }}</code> + <table class="table"> + <tbody> + <tr> + <th scope="row">HEAD:</th> + <td><code>{{ .HEAD }}</code></td> + </tr> + {{ if $result.Error }} + <tr> + <th scope="row">Error:</th> + <td class="text-danger">{{ $result.Error }}</td> + </td> + </tr> {{ end }} - </div> - {{ block "series" $result.Series}}{{ end }} + <tr> + <th scope="row">Log:</th> + <td class="bg-dark text-white"> + {{ range $logEntry := $result.LogEntries }} + <code>{{ $logEntry }}</code><br /> + {{ end }} + </td> + </tr> + <tr> + <td colspan="2"> + {{ block "series" $result.Series}}{{ end }} + </td> + </tr> + </tbody> + </table> </div> </div> </div> |