{% extends layout %}{% import 'ui/kit.html' as kit %} {% block title %}amebo - wands{% endblock %} {% block content %} {%- set cols = [('spell', 'spell'), ('when', 'when (action)'), ('status', 'status'), ('runs', 'runs'), ('last', 'last run'), ('act', '')] -%} {%- set add %}{% if principal and principal.superadmin %}{% endif %}{% endset -%} {%- set bulk %}{% if principal and principal.superadmin %}{% endif %}{% endset -%} {%- set toolbar_html %}{{ kit.toolbar('wands', 'Search spells...', cols, '', bulk, q) }}{% endset -%} {%- set list_html %}{% include 'ui/automate/wands_list.html' %}{% endset -%} {{ kit.list_page('wands', 'Wands', 'When an event fires, run a chain: fetch external data, map, filter, and POST over HTTP.', add, toolbar_html, list_html) }} {% endblock %}