{% extends 'generic/object.html' %} {% load helpers %} {% load proxbox_tags %} {% load humanize %} {% load i18n %} {% block content %}
{% trans "Proxmox Storage" %}
{% if object.server %} {% endif %} {% if object.port %} {% endif %} {% if object.username %} {% endif %} {% if object.export %} {% endif %} {% if object.share %} {% endif %} {% if object.pool %} {% endif %} {% if object.datastore %} {% endif %} {% if object.mountpoint %} {% endif %} {% if object.format %} {% endif %} {% if object.prune_backups %} {% endif %} {% if object.max_protected_backups is not None %} {% endif %}
{% trans "Cluster" %} {{ object.cluster }}
{% trans "Name" %} {{ object.name }}
{% trans "Storage Type" %} {{ object.storage_type|placeholder }}
{% trans "Content" %} {{ object.content|placeholder }}
{% trans "Path" %} {{ object.path|placeholder }}
{% trans "Nodes" %} {{ object.nodes|placeholder }}
{% trans "Shared" %} {{ object.shared|yesno:"Yes,No" }}
{% trans "Enabled" %} {{ object.enabled|yesno:"Yes,No" }}
{% trans "Server" %} {{ object.server }}
{% trans "Port" %} {{ object.port }}
{% trans "Username" %} {{ object.username }}
{% trans "Export" %} {{ object.export }}
{% trans "Share" %} {{ object.share }}
{% trans "Pool" %} {{ object.pool }}
{% trans "Datastore" %} {{ object.datastore }}
{% trans "Mountpoint" %} {{ object.mountpoint }}
{% trans "Format" %} {{ object.format }}
{% trans "Prune Backups" %} {{ object.prune_backups }}
{% trans "Max Protected Backups" %} {{ object.max_protected_backups }}
{% trans "Storage Usage (Live)" %}
{% if storage_usage %}
{% trans "Used" %} {{ storage_usage.used_label }} / {{ storage_usage.total_label }}
{% trans "Available" %} {{ storage_usage.avail_label }}
{% trans "Usage" %} {{ storage_usage.used_pct }}%
{% trans "Proxmox Content Rows" %} {{ storage_content_count }}
{% elif storage_usage_detail %} {% else %}
{% trans "No storage usage data returned from Proxmox API." %}
{% endif %}
{% trans "Storage Summary" %}
{% trans "Virtual Disks" %}
{{ storage_summary.virtual_disks_count|default:0 }}
{{ storage_summary.virtual_disks_size|default:0|filesizeformat }}
{% trans "Backups" %}
{{ storage_summary.backups_count|default:0 }}
{{ storage_summary.backups_size|default:0|filesizeformat }}
{% trans "Snapshots" %}
{{ storage_summary.snapshots_count|default:0 }}
{% trans "Linked to this storage" %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/comments.html' %}
{% endblock %}