job_group.html revision f81680c018729fd4499e1e200d04b48c4b90127c
1{% extends "base.html" %}
2
3{% block content %}
4<h1 class="title">Job Group {{ group_id }}</h1>
5
6<h2 class="title">General information</h2>
7{% include "snippet_attribute_table.html" %}
8
9<h2 class="title">Job Listing</h2>
10<table class="list">
11  <tbody>
12    <tr>
13      <th>Job ID</th>
14      <th>Label</th>
15      <th>Turnaround Time</th>
16      <th>State</th>
17    </tr>
18    {% for job in job_list %}
19    <tr>
20      <td>
21        <a class="button column" href="/job/{{ job.id }}">{{ job.id }}</a>
22      </td>
23      <td>{{ job.label }}</td>
24      <td>{{ job.elapsed }}</td>
25      {% if job.status %}
26      <td class="{{ job.status }}">{{ job.state }}</td>
27      {% else %}
28      <td>{{ job.state }}</td>
29      {% endif %}
30    </tr>
31    {% endfor %}
32  </tbody>
33</table>
34
35<h2 class="title">Report</h2>
36{% if reports %}
37{% autoescape off %}
38{% for report in reports %}
39{{ report }}
40{% endfor %}
41{% endautoescape %}
42{% else %}
43<div class="warning">No reports found!</div>
44{% endif %}
45
46{% endblock %}
47