blob: f81422d32b7ab915c1ff9d91e07b8499d72530e5 (
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
36
37
38
39
|
{% extends "base.html" %}
{% block content %}
<p class="title">Machines</p>
<table class="list">
<tbody>
<tr>
<th>Hostname</th>
<th>Label</th>
<th>CPU</th>
<th>Cores</th>
<th>Operating System</th>
<th>Jobs Running</th>
<th>Locked</th>
</tr>
{% for machine in machines %}
<tr>
<td>
<a class="button column" href="/machine/{{ machine.hostname }}">
{{ machine.hostname }}
</a>
</td>
<td>{{ machine.label }}</td>
<td>{{ machine.cpu }}</td>
<td>{{ machine.cores }}</td>
<td>{{ machine.os }}</td>
<td>{{ machine.uses }}</td>
{% if machine.locked %}
<td class="failure">Yes</td>
{% else %}
<td class="success">No</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|