feat: adopt E&P corporate design in admin
This commit is contained in:
1 parent
55378b2bbc
commit
c660bd68de
36 files changed
+866
-544
No files matched your search
@@ -1,28 +1,27 @@
|
||||
<div id="htmx-confirmation-modal" class="fixed top-0 left-0 z-50 inset-0" {{ stimulus_controller('modal') }}>
|
||||
<div class="absolute top-0 left-0 inset-0 bg-black/80" {{ stimulus_action('modal', 'close', 'click') }}></div>
|
||||
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white p-8 w-full max-w-3xl rounded-md">
|
||||
<div class="flex justify-between border-b border-gray-200 pb-2 mb-4">
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ icon('alert', 'w-8 h-8') }}
|
||||
<div class="text-xl font-bold">
|
||||
<div id="htmx-confirmation-modal" class="fixed inset-0 z-50" {{ stimulus_controller('modal') }}>
|
||||
<div class="absolute inset-0 bg-ink/35 backdrop-blur-[3px]" {{ stimulus_action('modal', 'close', 'click') }}></div>
|
||||
<div class="card absolute top-1/2 left-1/2 w-full max-w-3xl -translate-x-1/2 -translate-y-1/2 p-6"
|
||||
role="alertdialog" aria-modal="true" aria-labelledby="htmx-confirmation-modal-title">
|
||||
<div class="mb-4 flex items-center justify-between gap-4 border-b border-line pb-3">
|
||||
<div class="flex items-center gap-2 text-brand">
|
||||
{{ icon('alert', 'size-7 shrink-0') }}
|
||||
<h2 id="htmx-confirmation-modal-title" class="text-xl font-bold">
|
||||
{% block title %}Bist du sicher?{% endblock %}
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
<button type="button" class="inline-block" {{ stimulus_action('modal', 'close') }}>
|
||||
{{ icon('close', 'w-8 h-8') }}
|
||||
</button>
|
||||
<button type="button" class="btn-tool" {{ stimulus_action('modal', 'close') }}>Schließen</button>
|
||||
</div>
|
||||
{% block content %}{% endblock %}
|
||||
<div class="mt-6 flex items-center justify-between">
|
||||
<button type="button"
|
||||
class="button button--warning"
|
||||
class="btn-primary"
|
||||
{% block button_attribute %}
|
||||
hx-post="{{ app.request.uri }}"
|
||||
hx-vals="{{ { _token: csrf_token(csrf_token_id) }|json_encode|e('html_attr') }}"
|
||||
{% endblock %}>
|
||||
{% block button_confirm %}Ja{% endblock %}
|
||||
</button>
|
||||
<button type="button" class="button button--neutral" {{ stimulus_action('modal', 'close') }}>
|
||||
<button type="button" class="btn-secondary" {{ stimulus_action('modal', 'close') }}>
|
||||
{% block button_cancel %}Abbrechen{% endblock %}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user