style: restyle the questionnaire views

This commit is contained in:
fromme committed 2026-11-12 11:36:18 +01:00
1 parent 6b16c88a5b
commit 3c19401d8b
15 files changed
+93 -99

No files matched your search

@@ -4,6 +4,10 @@
{% block content %}
<div class="max-w-3xl">
<a href="{{ returnUrl }}" class="inline-flex items-center gap-x-1 pb-4 text-sm font-bold text-brand hover:text-brand-dark">
{{ icon('arrow-left', 'w-4 h-4 shrink-0') }}
<span>zurück</span>
</a>
<h1 class="text-2xl font-bold pb-2">
Vorschau Reiseleitungsfeedback
</h1>
@@ -23,7 +27,7 @@
{% if busEscort != assignment.hasBusEscort %}
Dieser Einsatz hat {{ assignment.hasBusEscort ? 'eine' : 'keine' }} Busbegleitung.
{% endif %}
<a href="{{ otherVariant }}" class="underline">{{ busEscort ? 'Ohne' : 'Mit' }} Bus-Feedback ansehen</a>
<a href="{{ otherVariant }}" class="font-bold text-brand underline underline-offset-2 hover:text-brand-dark">{{ busEscort ? 'Ohne' : 'Mit' }} Bus-Feedback ansehen</a>
{% endblock %}
{% endembed %}
@@ -35,7 +39,7 @@
<div class="flex flex-col gap-y-12">
{% for item in submitted %}
<section>
<h2 class="text-2xl font-bold pb-4">
<h2 class="text-xl font-bold text-brand pb-4">
{{ item.definition.title }}{% if item.leg %}: {{ item.leg.label }}{% endif %}
</h2>
{% include 'questionnaire/_answers.html.twig' with { 'definition': item.definition, 'answers': item.answers } %}
@@ -57,10 +61,5 @@
{% include 'questionnaire/_form.html.twig' %}
{% endif %}
<div class="pt-8">
<a href="{{ returnUrl }}" class="underline">
zurück
</a>
</div>
</div>
{% endblock %}