summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html')
-rw-r--r--openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html61
1 files changed, 0 insertions, 61 deletions
diff --git a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html b/openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html
deleted file mode 100644
index 0a6d314f..00000000
--- a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_detail_overview.html
+++ /dev/null
@@ -1,61 +0,0 @@
-{% load i18n sizeformat parse_date %}
-{% load url from future %}
-
-<h3>{% trans "Volume Overview" %}: {{volume.display_name }}</h3>
-
-<div class="info row-fluid detail">
- <h4>{% trans "Info" %}</h4>
- <hr class="header_rule">
- <dl>
- <dt>{% trans "Name" %}</dt>
- <dd>{{ volume.display_name }}</dd>
- <dt>{% trans "ID" %}</dt>
- <dd>{{ volume.id }}</dd>
- {% if volume.display_description %}
- <dt>{% trans "Description" %}</dt>
- <dd>{{ volume.display_description }}</dd>
- {% endif %}
- <dt>{% trans "Status" %}</dt>
- <dd>{{ volume.status|capfirst }}</dd>
- </dl>
-</div>
-
-<div class="specs row-fluid detail">
- <h4>{% trans "Specs" %}</h4>
- <hr class="header_rule">
- <dl>
- <dt>{% trans "Size" %}</dt>
- <dd>{{ volume.size }} {% trans "GB" %}</dd>
- <dt>{% trans "Created" %}</dt>
- <dd>{{ volume.created_at|parse_date }}</dd>
- </dl>
-</div>
-
-<div class="status row-fluid detail">
- <h4>{% trans "Attachments" %}</h4>
- <hr class="header_rule">
- <dl>
- {% for attachment in volume.attachments %}
- <dt>{% trans "Attached To" %}</dt>
- <dd>
- {% url 'horizon:project:instances:detail' attachment.server_id as instance_url%}
- <a href="{{ instance_url }}">{{ attachment.instance.name }}</a>
- <span> {% trans "on" %} {{ attachment.device }}</span>
- </dd>
- {% empty %}
- <dt>{% trans "Attached To" %}</dt>
- <dd><em>{% trans "Not attached" %}</em></dd>
- {% endfor %}
- </dl>
-</div>
-
-<div class="status row-fluid detail">
- <h4>{% trans "Metadata" %}</h4>
- <hr class="header_rule">
- <dl>
- {% for key, value in volume.metadata.items %}
- <dt>{{ key }}</dt>
- <dd>{{ value }}</dd>
- {% endfor %}
- </dl>
-</div>