1{% extends "base.html" %} 2 3{% block content %} 4<p class="title">Machines</p> 5 6<table class="list"> 7<tbody> 8<tr> 9 <th>Hostname</th> 10 <th>Label</th> 11 <th>CPU</th> 12 <th>Cores</th> 13 <th>Operating System</th> 14 <th>Jobs Running</th> 15 <th>Locked</th> 16</tr> 17{% for machine in machines %} 18<tr> 19 <td> 20 <a class="button column" href="/machine/{{ machine.hostname }}"> 21 {{ machine.hostname }} 22 </a> 23 </td> 24 <td>{{ machine.label }}</td> 25 <td>{{ machine.cpu }}</td> 26 <td>{{ machine.cores }}</td> 27 <td>{{ machine.os }}</td> 28 <td>{{ machine.uses }}</td> 29 {% if machine.locked %} 30 <td class="failure">Yes</td> 31 {% else %} 32 <td class="success">No</td> 33 {% endif %} 34</tr> 35{% endfor %} 36</tbody> 37</table> 38 39{% endblock %} 40