aboutsummaryrefslogtreecommitdiff
path: root/automation/server/monitor/templates/job_group_list.html
blob: b82fa7305918fa1eb86eac24b56172b90a95c9ac (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
30
31
32
33
34
35
{% extends "base.html" %}

{% block content %}
<p class="title">Job Groups</p>

<form action="/job-group" method="post">
{{ filter.as_p }}
<p><input type="submit" value="Filter!" /></p>
</form>

<table class="list">
  <tbody>
    <tr>
      <th>Group ID</th>
      <th>Label</th>
      <th>Time Submitted</th>
      <th>Status</th>
    </tr>
    {% for group in groups %}
    <tr>
      <td>
        <a class="button column" href="/job-group/{{ group.id }}">{{ group.id }}</a>
      </td>
      <td>{{ group.label }}</td>
      <td>{{ group.submitted }}</td>
      {% if group.status %}
      <td class="{{ group.status }}">{{ group.state }}</td>
      {% else %}
      <td>{{ group.state }}</td>
      {% endif %}
    </tr>
    {% endfor %}
  </tbody>
</table>
{% endblock %}