mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
32 lines
665 B
HTML
32 lines
665 B
HTML
{% extends "base.html" %}
|
|
{% block body %}
|
|
|
|
<table>
|
|
<tr>
|
|
<th> Name </th>
|
|
<th> Status </th>
|
|
<th> Cores </th>
|
|
<th> Memory </th>
|
|
<th> Disk Size </th>
|
|
<th> Delete </th>
|
|
</tr>
|
|
{% for vm in vms %}
|
|
<tr>
|
|
<td> {{ vm['name'] }} </td>
|
|
<td> {{ vm['status'] }} </td>
|
|
<td> {{ vm['config']['cores'] * vm['config'].get(sockets, 1) }} </td>
|
|
<td> {{ vm['config']['memory'] }} MB </td>
|
|
<td> {{ vm['disk_size'] }} </td>
|
|
<td>
|
|
<form action="/proxstar/delete" method="post">
|
|
<button type="submit" name="delete" value="{{ vm['vmid'] }}">DELETE</button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<br>
|
|
|
|
{{ vms }}
|
|
{% endblock %}
|