Files
CTFd/templates/admin/hosts.html
CodeKevin b1c09e832e Listing DO hosts
Swapped out API wrappers
2015-01-24 03:50:45 -05:00

50 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "admin/base.html" %}
{% block content %}
<div class="row">
<br>
<h1>Hosts</h1>
<br>
{% for error in errors %}
<div class="large-8 large-centered columns">
<div data-alert class="alert-box alert radius centered text-center">
<span>{{ error }}</span>
<a href="#" class="close">×</a>
</div>
</div>
{% endfor %}
<table id="teamsboard">
<thead>
<tr>
<td><b>ID</b>
</td>
<td><b>Status</b>
</td>
<td><b>Name</b>
</td>
<td><b>IP Address</b>
</td>
<td><b>Memory</b>
</td>
<td><b>Disk</b>
</td>
</tr>
</thead>
<tbody>
{% for host in hosts %}
<tr>
<td>{{ host.id }}</td>
<td>{{ host.status }}</td>
<td>{{ host.name }}</td>
<td>{{ host.ip_address }}</td>
<td>{{ host.memory }} <sub>MB</sub></td>
<td>{{ host.disk }} <sub>GB</sub></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}
{% block scripts %}
{% endblock %}