{% extends 'ohmyadmin/app.html' %} {% import 'ohmyadmin/lib/pagination.html' as pagination %} {% import 'ohmyadmin/lib/buttons.html' as buttons %} {% block page_actions %} {% for action in page_actions %} {{ action }} {% endfor %} {% endblock %} {% block content %} {% include 'ohmyadmin/tables/metrics.html' %} {% if page_has_results %}
{% if resource.searchable %}
{% endif %}
{% if filters %}
{% for filter in filters %}
{% if filter.label %}
{{ filter.label }}
{% endif %}
{{ filter }}
{% endfor %}
{% endif %}
{% if indicators %}
{{ _('Active filters:') }}
{% for indicator in indicators %} {{ indicator.render(request) }} {% endfor %}
{% endif %} {% if batch_actions %} {% endif %} {% for column in columns %} {% endfor %} {% for object in objects %} {% if batch_actions %} {% endif %} {% for column in columns %} {% endfor %} {% endfor %}
{{ column.render_head_cell(request, sorting_helper) }}
{% set link = column.get_link(request, object) if column.has_link else '' %} {% if link %} {{ column(object) }} {% else %} {{ column(object) }} {% endif %}
{{ pagination.pagination(request, objects) }}
{% else %}
{{ empty_state }}
{% endif %} {% endblock %}