Mercurial > libervia-templates
view sat_templates/templates/bulma/dialogs/macros.html @ 270:2378084522e1
bulma (dialogs): new `macros.html` with a search dialog
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 08:46:00 +0200 |
parents | |
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 %}