summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html')
-rw-r--r--horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html b/horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html
new file mode 100644
index 00000000..ccc90c88
--- /dev/null
+++ b/horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html
@@ -0,0 +1,29 @@
+{% extends 'syspanel/base.html' %}
+{%load i18n%}
+
+{% block sidebar %}
+ {% with current_sidebar="quotas" %}
+ {{block.super}}
+ {% endwith %}
+{% endblock %}
+
+{% block page_header %}
+ {% url horizon:syspanel:quotas:index as refresh_link %}
+ {# to make searchable false, just remove it from the include statement #}
+ {% include "horizon/common/_page_header.html" with title=_("Default Quotas") refresh_link=refresh_link searchable="true" %}
+{% endblock page_header %}
+
+{% block syspanel_main %}
+ <table class="wide">
+ <tr>
+ <th>{% trans "Quota Name"%}</th>
+ <th>{% trans "Limit"%}</th>
+ </tr>
+ {% for name,value in quotas.items %}
+ <tr>
+ <td>{{name}}</td>
+ <td>{{value}}</td>
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %}