summaryrefslogtreecommitdiff
path: root/template/scheduler/history.html
blob: 62a6c0819ce8cc7e213b0ba97d89edc13807f4c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{%extends "adm/admin_base.html" %}
{%block title%}Job History{%endblock%}

{%block layoutblock %}
<h1>Job History</h1>
<br/>

<table class="table table-striped table-small table-hover">
  <tr>
    <th>Time</th>
    <th>Job</th>
    <th>Status</th>
    <th>Runtime</th>
  </tr>
{%for h in history%}
  <tr{%if not h.success%} class="danger"{%endif%}>
    <td>{{h.time}} ({{h.time|timesince}} ago)</td>
    <td><a href="../{{h.job.id}}/">{{h.job.description}}</a></td>
    <td>{{h.success|yesno:"Success,Failure"}}</td>
    <td>{{h.runtime}}</td>
  </tr>
{%endfor%}
</table>

{%include "adm/include/paginator.html" with pageobjects=history %}

<a href="../" class="btn btn-default btn-block">Return to overview</a>
<br/>
{%endblock%}