{% extends "base.html" %} {% block title %}{{ database }}: {{ table }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
home / {{ database }}

{{ table }}{% if is_view %} (view){% endif %}

{% if table_rows != None %}

{{ "{:,}".format(table_rows) }} total row{% if table_rows == 1 %}{% else %}s{% endif %} in this table

{% endif %} {% if query.params %}
{{ query.sql }}
params = {{ query.params|tojson(4) }}
{% endif %}

This data as .json, .jsono

{% if not is_view %}{% endif %} {% for column in display_columns %}{% endfor %} {% for row in rows %} {% if not is_view %}{% endif %} {% for td in row %} {% if not use_rowid or (use_rowid and not loop.first) %} {% endif %} {% endfor %} {% endfor %}
{% if use_rowid %}rowid{% else %}Link{% endif %}{{ column }}
{{ row_link(row) }}{{ td or " "|safe }}
{% if next_url %}

Next page

{% endif %} {% if table_definition %}
{{ table_definition }}
{% endif %} {% if view_definition %}
{{ view_definition }}
{% endif %} {% endblock %}