{% extends "layout.html" %} {%block title %} Homepage {%endblock title %} {%block content %}
{% include 'sidebar.html' %}
{{resource.resource_plural_name}}
{% for filter in filters %}
{% endfor %}
{% if items %}
{% for field in fields %} {% if 'index' in field.visibility %} {% endif %} {% endfor %} {% for field_items in items %} {% for field_item in field_items %}
{% if 'index' in field_item.field.visibility %}
{% endif %} {% endfor %} {% endfor %}
{{ field.column|upper }}
{% if field_item.field.type == 'id' %} {{field_item.value}} {% else %} {{field_item.value}} {% endif %} Action
{% if pagination.previous_page_url %} previous {% else %}
previous
{% endif %}
{{pagination.start_record}}-{{pagination.end_record}} of {{pagination.count}}
{% if pagination.next_page_url %} next {% else %}
next
{% endif %}
{% else %}
No {{resource.resource_name}} matched the given criteria.
{% endif %}
{% include 'footer.html' %}
{%endblock content %}