1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

instances.html displays memory MB only in header. table sorts now int value, instead of string

This commit is contained in:
Ing. Jan KRCMAR 2018-04-11 13:35:01 +02:00
parent 41095ffb6d
commit 40049540ee

View file

@ -43,7 +43,7 @@
<th>Host<br>User</th> <th>Host<br>User</th>
<th>Status</th> <th>Status</th>
<th>VCPU</th> <th>VCPU</th>
<th>Memory</th> <th>Memory<br>({% trans "MB" %})</th>
<th data-sortable="false" style="width:205px;">Actions</th> <th data-sortable="false" style="width:205px;">Actions</th>
</tr> </tr>
</thead> </thead>
@ -64,7 +64,7 @@
{% endifequal %} {% endifequal %}
</td> </td>
<td>{{ info.vcpu }}</td> <td>{{ info.vcpu }}</td>
<td>{{ info.memory }} {% trans "MB" %}</td> <td>{{ info.memory }}</td>
<td><form action="" method="post" role="form">{% csrf_token %} <td><form action="" method="post" role="form">{% csrf_token %}
<input type="hidden" name="name" value="{{ vm }}"/> <input type="hidden" name="name" value="{{ vm }}"/>
<input type="hidden" name="compute_id" value="{{ host.0 }}"/> <input type="hidden" name="compute_id" value="{{ host.0 }}"/>