mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Move links and rebuild pages
This commit is contained in:
parent
8f5ccb3519
commit
d3bdec0380
10 changed files with 192 additions and 48 deletions
|
@ -19,9 +19,34 @@
|
|||
|
||||
<div class="row">
|
||||
|
||||
{% if not storages %}
|
||||
<div class="well">
|
||||
<h4>{% trans "You do not have any storage pools" %}</h4>
|
||||
</div>
|
||||
{% else %}
|
||||
{% for pool in storages %}
|
||||
<div class="col-xs-6 col-sm-4">
|
||||
<div class="panel {% if pool.status %}panel-success{% else %}panel-danger{% endif %} panel-data">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="{% url 'storage' compute.id pool.name %}">{{ pool.name }}</a></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<p>{% trans "Type" %}: {{ pool.type|upper }}</p>
|
||||
|
||||
<p>{% trans "Size" %}: {{ pool.size|filesizeformat }}</p>
|
||||
|
||||
<p>{% trans "Volumes" %}: {{ pool.volumes }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue