diff options
Diffstat (limited to 'horizon/horizon/dashboards/nova/templates/nova/security_groups/_list.html')
-rw-r--r-- | horizon/horizon/dashboards/nova/templates/nova/security_groups/_list.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/nova/templates/nova/security_groups/_list.html b/horizon/horizon/dashboards/nova/templates/nova/security_groups/_list.html new file mode 100644 index 00000000..7b324f13 --- /dev/null +++ b/horizon/horizon/dashboards/nova/templates/nova/security_groups/_list.html @@ -0,0 +1,22 @@ +{%load i18n%} +<table id="security_groups" class="wide"> + <tr> + <th>{% trans "Name"%}</th> + <th>{% trans "Description"%}</th> + <th>{% trans "Actions"%}</th> + </tr> + {% for security_group in security_groups %} + <tr class="{% cycle 'odd' 'even' %}"> + <td>{{ security_group.name }}</td> + <td>{{ security_group.description }}</td> + <td id="actions"> + <ul> + <li><a href="{% url horizon:nova:security_groups:edit_rules security_group.id %}">{% trans "Edit Rules"%}</a></li> + {% if security_group.name != 'default' %} + <li class="form">{% include "nova/security_groups/_delete.html" with form=delete_form %}</li> + {% endif %} + </ul> + </td> + </tr> + {% endfor %} +</table> |