{% extends 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/static.html' as admin_static with context%} {% import 'admin/model/layout.html' as model_layout with context %} {% import 'admin/actions.html' as actionlib with context %} {% block head %} {{ super() }} {% endblock %} {% block body %} {% block model_menu_bar %} {% endblock %} {% if filters %} {{ model_layout.filter_form() }}
{% endif %} {% block model_list_table %} {% block list_header scoped %} {% if actions %} {% endif %} {% block list_row_actions_header %} {% endblock %} {% set column = 0 %} {% for c, name in list_columns %} {% set column = column + 1 %} {% endfor %} {% endblock %} {% for row in data %} {% block list_row scoped %} {% if actions %} {% endif %} {% block list_row_actions_column scoped %} {% endblock %} {% for c, name in list_columns %} {% endfor %} {% endblock %} {% else %} {% endfor %}
  {% if admin_view.is_sortable(c) %} {% if sort_column == column %} {{ name }} {% if sort_desc %} {% else %} {% endif %} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %} {% if admin_view.column_descriptions.get(c) %} {% endif %}
{% block list_row_actions scoped %} {%- if admin_view.can_edit -%} {%- endif -%} {%- if admin_view.can_delete -%}
{% if csrf_token %} {% endif %}
{%- endif -%} {% endblock %}
{{ get_value(row, c) }}
{% block empty_list_message %}
{{ admin_view.get_empty_list_message() }}
{% endblock %}
{{ lib.pager(page, num_pages, pager_url) }} {% endblock %} {{ actionlib.form(actions, url_for('.action_view')) }} {% endblock %} {% block tail %} {{ super() }} {{ actionlib.script(_gettext('Please select at least one model.'), actions, actions_confirmation) }} {% endblock %}