feat: improved layout, removed htmx-boost for simplicity

This commit is contained in:
Björn Fromme
2025-01-25 14:59:09 +01:00
parent 6730c243f6
commit f9e7f28b6b
19 changed files with 95 additions and 209 deletions
+2 -2
View File
@@ -232,11 +232,11 @@
</div>
<div class="flex justify-between">
<a href="{{ path('app_bookings') }}"
class="button bg-button">
class="button bg-button" {{ stimulus_action('loading', 'toggle') }}>
zurück
</a>
<button type="submit"
class="button bg-button bg-button--secondary">
class="button bg-button bg-button--secondary" {{ stimulus_action('loading', 'toggle') }}>
Aktualisieren
</button>
</div>
+5 -2
View File
@@ -64,16 +64,19 @@
<div class="flex md:flex-col space-x-2 md:space-x-0 md:space-y-1">
{% if booking.editable %}
<a href="{{ path('app_booking_edit', { 'id': booking.id }) }}"
{{ stimulus_action('loading', 'toggle') }}
class="button bg-button bg-button--secondary button--small">
bearbeiten
</a>
{% endif %}
<a href="{{ path('app_booking_confirmation', { 'id': booking.id }) }}"
class="button bg-button button--small">
class="button bg-button button--small"
target="_blank" {{ stimulus_action('loading', 'toggle') }}>
Bestätigung
</a>
<a href="{{ path('app_booking_documents', { 'id': booking.id }) }}"
class="button bg-button button--small">
class="button bg-button button--small"
target="_blank" {{ stimulus_action('loading', 'toggle') }}>
Reisedokumente
</a>
</div>