1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

storage.html: show usage and size seperately.

This commit is contained in:
catborise 2019-10-25 16:03:27 +03:00
parent a0324ac60e
commit 97e39fa6b8

View file

@ -44,11 +44,12 @@
<div class="row"> <div class="row">
<div class="col-xs-6 col-sm-6"> <div class="col-xs-6 col-sm-6">
<p>{% trans "Pool name" %}:</p> <p>{% trans "Pool Name" %}:</p>
<p>{% trans "Pool type" %}:</p> <p>{% trans "Pool Type" %}:</p>
<p>{% trans "Pool path" %}:</p> <p>{% trans "Pool Path" %}:</p>
<p>{% trans "Pool status" %}:</p> <p>{% trans "Pool Status" %}:</p>
<p>{% trans "Size" %}: ({{ size|filesizeformat }} / {{ used|filesizeformat }})</p> <p>{% trans "Size" %}:</p>
<p>{% trans "Usage" %}({{ percent }}%):</p>
<p>{% trans "State" %}:</p> <p>{% trans "State" %}:</p>
<p>{% trans "Autostart" %}:</p> <p>{% trans "Autostart" %}:</p>
</div> </div>
@ -57,7 +58,8 @@
<p>{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}</p> <p>{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}</p>
<p>{% if not path %}{% trans "None" %}{% else %}{{ path }}{% endif %}</p> <p>{% if not path %}{% trans "None" %}{% else %}{{ path }}{% endif %}</p>
<p>{% if not status %}{% trans "None" %}{% else %}{{ status }}{% endif %}</p> <p>{% if not status %}{% trans "None" %}{% else %}{{ status }}{% endif %}</p>
<p>{% trans "Usage" %}: {{ percent }}%</p> <p>{{ size|filesizeformat }}</p>
<p>{{ used|filesizeformat }}</p>
<p> <p>
<form action="" method="post" role="form">{% csrf_token %} <form action="" method="post" role="form">{% csrf_token %}
{% ifequal state 0 %} {% ifequal state 0 %}