feat: adopt ep-design 1.3.0 in admin

This commit is contained in:
fromme committed 2026-11-13 12:42:00 +01:00
1 parent df564c30ae
commit e517163c9a
19 files changed
+127 -140

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{#-
A "⋯" menu (menu_controller.js), opened by click or tap, never by hover. The items go in the
content block: links or buttons with the class `menu-item` (or `menu-item-danger`) and
role="menuitem". Choosing one closes the menu.
-#}
{% set label = label ?? 'Aktionen' %}
<div class="relative inline-block" {{ stimulus_controller('menu') }}>
<button type="button" class="btn-more" aria-haspopup="menu" aria-expanded="false" aria-label="{{ label }}"
{{ stimulus_target('menu', 'button') }} {{ stimulus_action('menu', 'toggle') }}>⋯</button>
<div class="menu-panel" role="menu" hidden {{ stimulus_target('menu', 'panel') }} {{ stimulus_action('menu', 'choose') }}>
{% block content %}{% endblock %}
</div>
</div>