{% extends "admin/base_site.html" %} {% load i18n static postgres_metrics %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock %} {% block breadcrumbs %} {% endblock %} {% block coltype %}flex{% endblock %} {% block content %}

{{ metric.label }}

{% for result in results %}
{% if forloop.first %} {% if metric.description %}
{{ metric.description|safe }}
{% endif %}

{% trans 'PostgreSQL Metrics' %}

{% get_postgres_metrics as postgres_metrics %}
    {% for iter_metric in postgres_metrics %} {% url "postgres-metrics:show" name=iter_metric.slug as metric_url %} {{ iter_metric.label }} {% endfor %}
{% endif %}
{% for header in metric.headers %} {% endfor %} {% for record in result.records %} {% for item in record %}{% endfor %} {% endfor %} {% resetcycle %}
{{ result.alias }} ({{ result.dsn }})
{% if header.sort_priority > 0 %}
{{ header.sort_priority }}
{% endif %}
{{ item }}
{% endfor %}
{% endblock %}