{# The toolbox: what can be added to the workflow. Flow control, each instrument, each method category and the workflows sit under a divider of their own, which folds them away when clicked. Every group's actions load with the page, folded or not, so opening one is instant (see action_handlers.js). #} {% macro group(key, label, open=True) %} {% set group_id = 'toolbox-' ~ (key | replace('.', '-')) %}
Loading…
{% endmacro %}
{% if design_agent_enabled %}
{% include 'components/design_agent_panel.html' %}
{% endif %} {% include 'components/autofill_toggle.html' %} {{ group('flow_control', 'Flow control', open=False) }} {% for instrument in defined_variables %} {{ group(instrument, instrument | format_name) }} {% else %}
No instruments on this deck.
{% endfor %} {% for instrument in local_variables %} {{ group(instrument, instrument) }} {% endfor %} {% for category in block_variables %} {{ group(category, category | format_name) }} {% endfor %} {{ group('workflows', 'Workflows') }} {# the workflow's variables, suggested in every action's fields; refreshed as steps are added #} {% if script %} {% for var_name in script.get_autocomplete_variables() %} {% endfor %} {% endif %}