SSH keys CRUD working
This commit is contained in:
37
capsulflask/templates/capsuls.html
Normal file
37
capsulflask/templates/capsuls.html
Normal file
@ -0,0 +1,37 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user