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,15 +1,15 @@
{% set emptyText = emptyText ?? 'Keine Einträge vorhanden.' %}
{% set entries %}{% block content %}{% endblock %}{% endset %}
<div {{ attributes.defaults({class: 'bg-gray-100 border border-gray-200 rounded-md px-4 py-2'}).without('title', 'emptyText') }}>
<h2 class="flex justify-between pb-2">
<span class="font-bold text-lg">{{ title }}</span>
<div {{ attributes.defaults({class: 'card px-5 py-4'}).without('title', 'emptyText') }}>
<div class="flex justify-between pb-3">
<h2 class="section-title">{{ title }}</h2>
{% block actions %}{% endblock %}
</h2>
</div>
{% if entries|trim is empty %}
{% block empty %}
<p class="py-2 text-sm text-gray-500">{{ emptyText }}</p>
<p class="py-2 text-sm text-muted">{{ emptyText }}</p>
{% endblock %}
{% else %}
<ul class="divide-y divide-gray-200">{{ entries }}</ul>
<ul class="divide-y divide-line">{{ entries }}</ul>
{% endif %}
</div>