Mercurial > libervia-templates
comparison 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 |
comparison
equal
deleted
inserted
replaced
269:edefc1f25219 | 270:2378084522e1 |
---|---|
1 {# macros for generic dialogs #} | |
2 | |
3 {% macro search_dialog(id=none, class='') %} | |
4 <div{{ {'id': id}|xmlattr }} class="search_dialog dropdown is-active {{class}}"> | |
5 <div class="dropdown-trigger"> | |
6 {{ caller() }} | |
7 </div> | |
8 <div class="dropdown-menu" id="dropdown-menu" role="menu"> | |
9 <div class="search_dialog__content dropdown-content"> | |
10 </div> | |
11 </div> | |
12 </div> | |
13 {% endmacro %} |