{% import _self as macros %} {% macro filtering(column, direction, limit, start) %}?order={{ column }}&direction={{ direction }}&limit={{ limit }}&start={{ start }}{% endmacro %} {% extends "base.html" %} {% block title %}{{ table }} List{% endblock %} {% block body %}

{{ table }} List

« Back to Models | Create {{ table }}

{% for column in table.columns %} {% endfor %} {% for row in rows %} {% for column in table.columns %} {% endfor %} {% else %} {% endfor %}
{% if column.isPrimary %} {{ table }} {% else %} {% if direction in 'desc' %} {% set opposite_direction = 'asc' %} {% else %} {% set opposite_direction = 'desc' %} {% endif %} {{ column }} {% if order == column.name %} {% if direction in 'desc' %} ↓ {% else %} ↑ {% endif %} {% endif %} {% endif %}
{{ model.column_show('.', column, row, table.columns, table.columns) }}
No data found.
{{ rows|length }} {{ table }} Items | Show: 20, 50, 100, 500 | {% if start != 0 %} « Page {{ ((start - limit) / limit) + 1 }} • {% endif %} Page {{ (start / limit) + 1 }} {% if rows|length >= limit %} • Page {{ ((start + limit) / limit) + 1 }} » {% endif %}
{% endblock %}