29 lines
982 B
HTML
29 lines
982 B
HTML
|
{% extends 'master.html' %}
|
||
|
|
||
|
{% block body %}
|
||
|
<p>
|
||
|
|
||
|
</p>
|
||
|
<form action="/metadata" method="get">
|
||
|
|
||
|
<table align="center" width="80%" border="1px">
|
||
|
<tr style="background-color: #f2f2f2"><td colspan="2" align="center"><h1>Show Hosts</h1></td></tr>
|
||
|
</table>
|
||
|
<br>
|
||
|
|
||
|
<table align="center" width="80%" border="1px">
|
||
|
|
||
|
<tr><th style="text-align:center">Host</th><th style="text-align:center">Boot-Time</th><th style="text-align:center">Delete</th></tr>
|
||
|
{% for host in hosts %}
|
||
|
<tr>
|
||
|
<td width="33.33%" align="center">{{ host['name'] }}</td>
|
||
|
<td width="33.33%" align="center">{{ host['boot_time'] }}</td>
|
||
|
<td width="33.33%" align="center"><a href="/delete_host?name={{ host['name'] }}&boot_time={{ host['boot_time'] }}">Delete</a></td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</table>
|
||
|
|
||
|
|
||
|
</form>
|
||
|
{% endblock %}
|