update container list page
This commit is contained in:
parent
a35ab33a07
commit
d677a6700c
1 changed files with 6 additions and 2 deletions
|
@ -45,8 +45,12 @@
|
|||
{{ '%0.2f' | format(size_gb|float) }}GB
|
||||
</td>
|
||||
<td>
|
||||
{% set memory_mb = (container.memory / 1024 / 1024) %}
|
||||
{{ '%0.2f' | format(memory_mb|float) }}MB
|
||||
{% if container['status'] == 1 %}
|
||||
{% set memory_mb = (container.memory / 1024 / 1024) %}
|
||||
{{ '%0.2f' | format(memory_mb|float) }}MB
|
||||
{% else %}
|
||||
0MB
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if container['status'] == 0 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue