{% extends 'layout.html' %} {% block title %} {{proj}} - Search {% endblock %} {% block content %} {% set columns = md['default_columns'] %} {% set meta = md['key_descriptions'] or { } %} {% set ctrl = md['special_keys'] or [] %}

{{proj}}

Displaying rows {{ row1 }}-{{ row2 }} out of {{ nrows }}
{%- for c in t.columns %} {%- endfor %} {% for row in t.rows -%} {%- autoescape false -%} {%- for s in row.strings -%} {% if s != "" %} {% else %} {% endif %} {% endfor %} {% endautoescape %} {% set dct=row.dct %} {% set id=dct.id %} {% endfor %}
{% set colDisplay = { 'col' : c } %} {% if c in meta %} {% set _dummy = colDisplay.update({'col' : meta[c][0]}) %} {% endif %} {% if con.sort == c %}↓ {% elif con.sort == '-' + c %}↑ {% endif -%} {% if c == 'formula' %} Formula {% else %} {{ colDisplay['col'] }} {% endif %}
{{ s }} -
{% endblock content %} {% macro select(control) %} {% set key, text, choises = control[1:] %} {% set choise = con.query[1][key] %} {{ text }}: {% endmacro %} {% macro boolean(control) %} {% set key, text = control[1:] %} {% set choise = con.query[1][key] %} {{ text }}: {% endmacro %} {% macro myrange(control) %} {% set id, text, choises = control[1:] %} {% set v1, v2, var = con.query[1].get(id, ['', '', '']) %} {{ text }}: -
{% endmacro %}