{% extends 'generic/object.html' %} {% load helpers %} {% load proxbox_tags %} {% load humanize %} {% load i18n %} {% block content %}
{% trans "Proxmox Storage" %}
{% 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 "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' %}
{% trans "Virtual Disks on this Storage" %}
{% for disk in virtual_disks %} {% empty %} {% endfor %}
{% trans "Virtual Machine" %} {% trans "Name" %} {% trans "Size" %} {% trans "Description" %}
{{ disk.virtual_machine|hyperlinked_object }} {{ disk.name|placeholder }} {{ disk.size|placeholder }} {{ disk.description|placeholder }}
{% trans "No virtual disks mapped to this storage." %}
{% trans "Backups on this Storage" %}
{% for backup in vm_backups %} {% empty %} {% endfor %}
{% trans "Virtual Machine" %} {% trans "VMID" %} {% trans "Created" %} {% trans "Volume ID" %} {% trans "Format" %}
{{ backup.virtual_machine|hyperlinked_object }} {{ backup.vmid|placeholder }} {{ backup.creation_time|placeholder }} {{ backup.volume_id|placeholder }} {{ backup.get_format_display|placeholder }}
{% trans "No backups found for this storage." %}
{% trans "Snapshots on this Storage" %}
{% for snapshot in vm_snapshots %} {% empty %} {% endfor %}
{% trans "Virtual Machine" %} {% trans "VMID" %} {% trans "Name" %} {% trans "Node" %} {% trans "Snapshot Time" %}
{{ snapshot.virtual_machine|hyperlinked_object }} {{ snapshot.vmid }} {{ snapshot.name }} {{ snapshot.node }} {{ snapshot.snaptime|placeholder }}
{% trans "No snapshots found for this storage." %}
{% endblock %}