{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{{ compute }} - {% trans "Storage" %}: {{ pool }}{% endblock %} {% block style %} {% endblock %} {% block page_heading %}{{ compute }} - {% trans "Storage" %}: {{ pool }}{% endblock page_heading %} {% block page_heading_extra %}{% include 'create_stg_vol_block.html' %}{% endblock page_heading_extra %} {% block content %} {% include 'pleasewaitdialog.html' %}
{% trans "Pool name" %}
{{ pool }}
{% trans "Pool type" %}
{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}
{% trans "Pool path" %}
{% if not path %}{% trans "None" %}{% else %}{{ path }}{% endif %}
{% trans "Pool status" %}
{% if not status %}{% trans "None" %}{% else %}{{ status }}{% endif %}
{% trans "Size" %}
{{size|filesizeformat }}
{% trans "Usage" %} ({{ percent }}%)
{{ used|filesizeformat }}
{% trans "State" %}
{% csrf_token %} {% if state == 0 %} {% else %} {% endif %}
{% trans "Autostart" %}
{% csrf_token %} {% if autostart == 0 %} {% else %} {% endif %}
{% if state %}

{% include 'search_block.html' %}

{% if volumes %} {% for volume in volumes %} {% endfor %}
# {% trans "Name" %} {% trans "Allocated" %} {% trans "Size" %} {% trans "Format" %} {% trans "Action" %}
{{ forloop.counter }} {{ volume.name|truncatechars:55 }} {{ volume.allocation|filesizeformat }} {{ volume.size|filesizeformat }} {{ volume.type }} {% if volume.type != "iso" %} {% else %} {% endif %}
{% csrf_token %}
{% else %}
{% bs_icon 'exclamation-triangle' %} {% trans "Warning" %}: {% trans "Hypervisor doesn't have any Volumes" %}
{% endif %} {% endif %} {% endblock %} {% block script %} {% endblock %}