{% 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 }}
{% if download_button %} {% endif %}
{%- for c in t.columns %} {%- endfor %} {% for row in t.rows -%} {%- autoescape false -%} {%- for s in row.strings -%} {% endfor %} {% endautoescape %} {% set dct=row.dct %} {% set id=dct.id %} {% endfor %}
{% set desc, longdesc, unit = meta.get(c, (c, c, '')) %} {% set unit = unit and ' [' + unit + ']' %} {% if con.sort == c %}↓ {% elif con.sort == '-' + c %}↑ {% endif -%} {% if c == 'formula' %} Formula {% else %} {{ desc }} {% endif %}
{%- if s != "" -%}{{ s }}{% else %}-{% endif %}
{% 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 %} {% macro mysrange(control) %} {% set key, description, choises = control[1:] %} {% set v1, v2 = con.query[1].get(key, ['', '']) %} {{ description }}: - {% endmacro %}