view sat_templates/templates/bulma/dialogs/macros.html @ 299:75f1cd6da46e

bulma (components/block): new `data` and `delete_icon` arguments in `icon_item`
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:37:15 +0100
parents 2378084522e1
children
line wrap: on
line source

{# macros for generic dialogs #}

{% macro search_dialog(id=none, class='') %}
    <div{{ {'id': id}|xmlattr }} class="search_dialog dropdown is-active {{class}}">
        <div class="dropdown-trigger">
            {{ caller() }}
        </div>
        <div class="dropdown-menu" id="dropdown-menu" role="menu">
            <div class="search_dialog__content dropdown-content">
            </div>
        </div>
    </div>
{% endmacro %}