mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +00:00
i hope memory is the only value with a new type
This commit is contained in:
parent
a8df7d6e6b
commit
e7dfcdad95
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
||||||
{{ vm.mem | int // 1024 }}GB
|
{{ vm.mem | int // 1024 }}GB
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if vm.qmpstatus == 'running' or vm.qmpstatus == 'suspended' or vm.qmpstatus == 'paused' %}
|
{% if vm.qmpstatus == 'running' or vm.qmpstatus == 'suspended' or vm.qmpstatus == 'paused' %}
|
||||||
<button class="btn btn-default proxstar-vmbtn" id="change-mem" data-vmid="{{ vm.id }}" data-usage="{{ usage['mem'] - vm.config['memory'] // 1024 }}" data-limit="{{ limits['mem'] }}">
|
<button class="btn btn-default proxstar-vmbtn" id="change-mem" data-vmid="{{ vm.id }}" data-usage="{{ usage['mem'] | int - vm.config['memory'] | int // 1024 }}" data-limit="{{ limits['mem'] }}">
|
||||||
<i class="fas fa-cog"></i>
|
<i class="fas fa-cog"></i>
|
||||||
</button>
|
</button>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue