mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
'create new instance' screen improvements
This commit is contained in:
parent
5880b91c7a
commit
2941840f0d
1 changed files with 8 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
<form method="post" aria-label="Select compute for instance create form">
|
||||
{% csrf_token %}
|
||||
<div class="row">
|
||||
<table class="table table-hover">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr style="cursor:default;pointer-events:none">
|
||||
<th>{% trans "Name" %}</th>
|
||||
|
@ -23,12 +23,13 @@
|
|||
<th>{% trans "Cpu Usage" %}</th>
|
||||
<th>{% trans "Memory" %}</th>
|
||||
<th>{% trans "Mem Usage" %}</th>
|
||||
<th>{% trans "Action" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for compute in computes %}
|
||||
{% if compute.status is True %}
|
||||
<tr style="cursor:pointer" onclick="goto_compute('{{ compute.id }}')">
|
||||
<tr style="text-decoration: none">
|
||||
<td>{{ compute.name }}</td>
|
||||
<td>{{ compute.cpu_count }}</td>
|
||||
<td>
|
||||
|
@ -46,6 +47,11 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="col-1">
|
||||
<button class="btn btn-success btn-sm" type="button" onclick="goto_compute('{{ compute.id }}');">
|
||||
{% trans "Choose" %}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue