{% extends "base_misc.html" %} {% block content %} {% if query %} This was your query:
{{ query }}
{% endif %} {% if results %} Results: {% for i in header %} {% endfor %} {% for row in results %} {% for x in row.values %} {% endfor %} {% endfor %}
{{ i }}
{{ x }}
{% endif %} {% if table %}
Limit results to: rows.
Show only the following columns {{ table }}: {% for i in columns %} {% endfor %}
Column Name Type Description
{{ i.name }} {{ i.type }} {{ i.description }}
{% else %} Please select a table in the sidebar to the right. {% endif %} {% endblock %} {% block sidebar %}
Tables
{% endblock %}