summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/nova/templates/nova/objects/_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/dashboards/nova/templates/nova/objects/_list.html')
-rw-r--r--horizon/horizon/dashboards/nova/templates/nova/objects/_list.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/nova/templates/nova/objects/_list.html b/horizon/horizon/dashboards/nova/templates/nova/objects/_list.html
new file mode 100644
index 00000000..e38ae39c
--- /dev/null
+++ b/horizon/horizon/dashboards/nova/templates/nova/objects/_list.html
@@ -0,0 +1,29 @@
+{% load i18n swift_paging %}
+
+<table id="objects" class="wide">
+ <thead>
+ <tr>
+ <th>{% trans "Name"%}</th>
+ <th style="width: 100px;">{% trans "Actions"%}</th>
+ </tr>
+ </theaad>
+ <tbody>
+ {% for object in objects %}
+ <tr class="{% cycle 'odd' 'even' %}">
+ <td>{{ object.name }}</td>
+ <td id="actions">
+ <ul>
+ <li><a href="{% url horizon:nova:containers:object_copy container_name object.name %}">{% trans "Copy"%}</a></li>
+ <li class="form">{% include "nova/objects/_delete.html" with form=delete_form %}</li>
+ <li><a href="{% url horizon:nova:containers:object_download container_name object.name %}">{% trans "Download"%}</a>
+ </ul>
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">{% object_paging objects %}</td>
+ </tr>
+ </tfoot>
+</table>