{% set facet='edit' %} Recipe filters @ HXL Proxy {% include "includes/headers.html" %} {% set page_help='Recipe-page' %} {% include "includes/navbar.html" %}
{% include "includes/data-tabs.html" %}

Data transformation recipe

{% include "includes/source.html" %}

Recipe filters {% with key='Filters' %}{% include "includes/help.html" %}{% endwith %}

{% if recipe.recipe_id %} {% set method="POST" %} {% set action=url_for('do_data_save') %} {% else %} {% set method="GET" %} {% set action=url_for('data_edit') %} {% endif %}
    {# Filter types and names defined in this file: #} {% import 'includes/filters/filter-types.j2' as filter_types %} {% set vars = {'last_index': 0 } %} {% for n in range(1, 99) %} {% set filter_type = recipe.args['filter{0:02}'.format(n)] %} {% set filter_label = recipe.args['filter-label{0:02}'.format(n)] %} {% if filter_type %} {% if vars.update({'last_index': n}) %}{% endif %}{# kludge to set var outside scope #}
  1. {{ filter_types.names[filter_type] }} {% if filter_label %} {{ filter_label }} {% endif %} [x]
  2. {% endif %} {% endfor %} {% set n = vars.last_index + 1 %}
  3. (new filter)
{% if recipe.recipe_id %} {% endif %} {% include "includes/tagger-params.html" %} {% include "includes/metadata-params.html" %} {% if recipe.args['recipe'] %} {% endif %}
{% if source %}

Result preview

{% include 'includes/hxltable.html' %}
{% if source.has_more_rows %}

Previewing the first {{ "{:,}".format(source.max_rows) }} data row(s).

{% endif %} {% else %}

Error!

{% if error %} {{ error }} {% else %} Unknown error - please fix recipe {% endif %} {% endif %}
{% include "includes/scripts.html" %} {% include "includes/chooser-scripts.html" %}