Skip to content

Commit

Permalink
Make web frontend show job end dates
Browse files Browse the repository at this point in the history
  • Loading branch information
saolof committed May 19, 2024
1 parent a9d92f4 commit d8cacea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/listjobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ <h4> Database: </h4> <text class="{{.DatabaseIsOnFire}}"> {{ .Database }}</text
<h4> Query: </h4> <code id="{{.Name}}_query"> {{ .Query }} </code>
<h5 style="text-align:center;"> Recent runs </h5>
<table id="{{.Name}}_runs" style="margin:auto;">
<tr> <th>#</th> <th>Start time</th> <th>Status</th> </tr>
<tr> <th>#</th> <th>Start time</th> <th> End time </th> <th>Status</th> </tr>
<tbody>
{{- range $j, $run := .Runs }}
<tr> <td> {{ $run.Jobnumber }} </td> <td> {{ $run.Started }} </td> <td> {{ $run.Status }} </td> </tr>
<tr> <td> {{ $run.Jobnumber }} </td> <td> {{ $run.Started }} </td> <td> {{ $run.Ended}} </td> <td> {{ $run.Status }} </td> </tr>
{{- end }}
</tbody>
</table>
Expand Down

0 comments on commit d8cacea

Please sign in to comment.