{% extends "base.html" %}
{% block content %}
<
div
class
=
"page-header"
>
<
h1
>Job list</
h1
>
</
div
>
<
table
align
=
"center"
style
=
"width: 60%;"
class
=
"table table-hover"
>
<
thead
>
<
tr
>
<
th
>Output</
th
>
<
th
>Run Date</
th
>
<
th
>Time Taken</
th
>
<
th
>Result</
th
>
</
tr
>
</
thead
>
<
tbody
>
{% if !histories %}
<
tr
>
<
td
align
=
"center"
colspan
=
"4"
>No results</
td
>
</
tr
>
{% endif %}
{% for history in histories %}
<
tr
>
<
td
><
a
class
=
"btn btn-default"
href
=
"/history/log/{{jobid}}/{{history.id}}/"
role
=
"button"
>View</
a
></
td
>
<
td
>{{history.run_date}}</
td
>
<
td
>{{history.time_taken}}</
td
>
<
td
>{{history.result}}</
td
>
</
tr
>
{% endfor %}
</
tbody
>
</
table
>
{% endblock %}