summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/syspanel/templates/syspanel/quotas/index.html
blob: ccc90c8834fb7498874e908677c8cbb3ebd4282c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 %}