mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
storage.html: show usage and size seperately.
This commit is contained in:
parent
a0324ac60e
commit
97e39fa6b8
1 changed files with 8 additions and 6 deletions
|
@ -44,11 +44,12 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-sm-6">
|
||||
<p>{% trans "Pool name" %}:</p>
|
||||
<p>{% trans "Pool type" %}:</p>
|
||||
<p>{% trans "Pool path" %}:</p>
|
||||
<p>{% trans "Pool status" %}:</p>
|
||||
<p>{% trans "Size" %}: ({{ size|filesizeformat }} / {{ used|filesizeformat }})</p>
|
||||
<p>{% trans "Pool Name" %}:</p>
|
||||
<p>{% trans "Pool Type" %}:</p>
|
||||
<p>{% trans "Pool Path" %}:</p>
|
||||
<p>{% trans "Pool Status" %}:</p>
|
||||
<p>{% trans "Size" %}:</p>
|
||||
<p>{% trans "Usage" %}({{ percent }}%):</p>
|
||||
<p>{% trans "State" %}:</p>
|
||||
<p>{% trans "Autostart" %}:</p>
|
||||
</div>
|
||||
|
@ -57,7 +58,8 @@
|
|||
<p>{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}</p>
|
||||
<p>{% if not path %}{% trans "None" %}{% else %}{{ path }}{% 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>
|
||||
<form action="" method="post" role="form">{% csrf_token %}
|
||||
{% ifequal state 0 %}
|
||||
|
|
Loading…
Reference in a new issue