feat: adopt E&P corporate design in admin

This commit is contained in:
fromme committed 2026-11-13 11:51:46 +01:00
1 parent 55378b2bbc
commit c660bd68de
36 files changed
+866 -544

No files matched your search

@@ -1,12 +1,9 @@
{% set warning = warning ?? false %}
{% set method = method ?? 'get' %}
<button type="button"
class="{{ html_classes('block px-4 py-2 text-sm w-full text-left', {
'text-red-500 hover:text-primary': warning,
'text-gray-700 hover:text-primary': not warning
}) }}"
class="{{ warning ? 'menu-item-danger' : 'menu-item' }}"
role="menuitem"
tabindex="-1"
{{ stimulus_action('menu', 'choose') }}
{{ attributes
.defaults({
'hx-target': 'body',
+11 -16
View File
@@ -1,20 +1,15 @@
<div class="relative inline-block text-left group cursor-pointer">
{#- The "⋯" menu of a row or card (menu_controller.js); fill it with dropdown:link and dropdown:hxbutton -#}
<div class="relative inline-block text-left" {{ stimulus_controller('menu') }}>
<button type="button"
class="flex items-center text-gray-400 hover:text-gray-600 focus:outline-hidden focus:ring-0"
aria-expanded="true"
aria-haspopup="true">
<span class="sr-only">Funktionen</span>
{{ icon('dots', 'w-6 h-6') }}
class="btn-more"
aria-haspopup="menu"
aria-expanded="false"
aria-label="Funktionen"
{{ stimulus_target('menu', 'button') }}
{{ stimulus_action('menu', 'toggle') }}>
{{ icon('dots', 'size-5') }}
</button>
<div class="hidden group-hover:block absolute right-0 top-0 z-10 w-56 origin-top-right pt-4"
role="menu"
aria-orientation="vertical"
aria-labelledby="menu-button"
tabindex="-1">
<div class="rounded-md bg-white shadow-lg ring-1 ring-black/5 focus:outline-hidden">
<div class="py-1 menu menu--pulldown" role="none">
{% block content %}{% endblock %}
</div>
</div>
<div class="menu-panel" role="menu" hidden {{ stimulus_target('menu', 'panel') }}>
{% block content %}{% endblock %}
</div>
</div>
+2 -5
View File
@@ -1,10 +1,7 @@
{% set warning = warning ?? false %}
<a href="{{ url }}"
class="{{ html_classes('block px-4 py-2 text-sm w-full', {
'text-red-500 hover:text-primary': warning,
'text-gray-700 hover:text-primary': not warning
}) }}"
class="{{ warning ? 'menu-item-danger' : 'menu-item' }}"
role="menuitem"
tabindex="-1">
{{ stimulus_action('menu', 'choose') }}>
{{ block('content') }}
</a>