forked from 3wordchant/capsul-flask
38 lines
878 B
HTML
38 lines
878 B
HTML
|
{% extends 'console-base.html' %}
|
||
|
|
||
|
{% block title %}Console{% endblock %}
|
||
|
{% block consoletitle %}Console{% endblock %}
|
||
|
|
||
|
{% block consolecontent %}
|
||
|
{% if vms[0] is defined %}
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>id</th>
|
||
|
<th>size</th>
|
||
|
<th>ipv4</th>
|
||
|
<th>os</th>
|
||
|
<th>created</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for vm in vms %}
|
||
|
<a href="/console/{{ vm['id'] }}">
|
||
|
<tr>
|
||
|
<td>{{ vm["id"] }}</td>
|
||
|
<td>{{ vm["size"] }}</td>
|
||
|
<td>{{ vm["ipv4"] }}</td>
|
||
|
<td>{{ vm["os"] }}</td>
|
||
|
<td>{{ vm["created"] }}</td>
|
||
|
</tr>
|
||
|
</a>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{% else %}
|
||
|
You don't have any Capsuls running. <a href="/console/create">Create one</a> today!
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block pagesource %}/templates/capsuls.html{% endblock %}
|