{% extends "base.html" %}
{% block content %}
<
div
class
=
"page-header"
>
<
h1
>Search Results</
h1
>
</
div
>
<
table
align
=
"center"
style
=
"width: 60%;"
class
=
"table table-hover"
>
<
thead
>
<
tr
>
<
th
>Job Name</
th
>
<
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
href
=
"./history/view/{{history.jobName}}-{{history.job_id}}"
>{{history.jobName}}</
a
></
td
>
<
td
><
a
class
=
"btn btn-default"
href
=
"./history/log/{{history.job_id}}/{{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 %}