style: restyle the questionnaire views
This commit is contained in:
1 parent
6b16c88a5b
commit
3c19401d8b
15 files changed
+93
-99
No files matched your search
@@ -8,23 +8,23 @@
|
||||
Fragebogen zu deinem Einsatz
|
||||
</h1>
|
||||
{% include 'questionnaire/_assignment_summary.html.twig' with { 'assignment': disposition.assignment } %}
|
||||
<p class="pb-8 text-gray-700">
|
||||
<p class="pb-6">
|
||||
Danke für dein Feedback!
|
||||
</p>
|
||||
<div class="flex flex-col gap-y-12">
|
||||
<div class="flex flex-col gap-y-10">
|
||||
{% for item in submitted %}
|
||||
<section>
|
||||
<h2 class="text-2xl font-bold pb-1">
|
||||
<h2 class="text-xl font-bold text-brand pb-1">
|
||||
{{ item.definition.title }}{% if item.response.leg %}: {{ item.response.leg.label }}{% endif %}
|
||||
</h2>
|
||||
<p class="pb-6 text-sm text-gray-500">
|
||||
<p class="pb-4 text-sm text-muted">
|
||||
Abgeschickt am {{ item.response.submittedAt|date('d.m.Y, H:i') }} Uhr
|
||||
</p>
|
||||
{% include 'questionnaire/_answers.html.twig' with { 'definition': item.definition, 'answers': item.response.answers } %}
|
||||
</section>
|
||||
{% endfor %}
|
||||
{% if open %}
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn inline-block self-start">
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn btn--cta self-start">
|
||||
Offenen Fragebogen ausfüllen
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user