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
@@ -3,28 +3,28 @@
|
||||
# rated. Not part of the questionnaire's answers; a rating is filed against the placement as
|
||||
# always. Expects `dispositions` (DispositionRepository::findForHouseManagerQuestionnaire()).
|
||||
#}
|
||||
<section class="pt-8">
|
||||
<h2 class="text-xl font-bold pb-2">
|
||||
<section class="card mt-6 p-5">
|
||||
<h2 class="section-title pb-2">
|
||||
Bewerte dein Wochenteam
|
||||
</h2>
|
||||
{% if hint|default(false) %}
|
||||
<p class="pb-4 text-sm text-gray-500">
|
||||
<p class="pb-2 text-sm text-muted">
|
||||
Speichere deinen Fragebogen vorher als Entwurf, sonst gehen deine Eingaben verloren.
|
||||
</p>
|
||||
{% endif %}
|
||||
<ul class="divide-y divide-gray-100">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in dispositions %}
|
||||
<li class="flex flex-wrap items-center justify-between gap-2 py-3">
|
||||
<span>
|
||||
<span class="font-bold">{{ disposition.teamer.fullName }}</span>
|
||||
<span class="text-sm text-gray-500">{{ disposition.assignment.jobProfile.name }}</span>
|
||||
<span class="text-sm text-muted">{{ disposition.assignment.jobProfile.name }}</span>
|
||||
</span>
|
||||
{% if disposition.feedback %}
|
||||
<span class="inline-flex items-center gap-x-1 text-sm text-gray-500">
|
||||
<span class="inline-flex items-center gap-x-1 text-sm text-emerald-700">
|
||||
{{ icon('check', 'w-4 h-4') }} bewertet
|
||||
</span>
|
||||
{% elseif disposition.feedbackWaived %}
|
||||
<span class="text-sm text-gray-500">nicht nötig</span>
|
||||
<span class="text-sm text-muted">nicht nötig</span>
|
||||
{% else %}
|
||||
<a href="{{ path('app_administrative_feedback_provide', { 'uuid': disposition.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
@@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="py-3 text-gray-500">-</li>
|
||||
<li class="py-3 text-muted">-</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
@@ -1,8 +1,8 @@
|
||||
{#
|
||||
# The travel a house manager questionnaire is about, in one line above it. Expects `destination`.
|
||||
#}
|
||||
<p class="flex flex-wrap items-center gap-x-2 gap-y-1 pb-8 text-sm text-gray-700">
|
||||
<span class="font-bold text-gray-900">{{ destination.product }}</span>
|
||||
<p class="flex flex-wrap items-center gap-x-2 gap-y-1 pb-6 text-muted">
|
||||
<span class="font-bold text-ink">{{ destination.product }}</span>
|
||||
{% include '_partials/_dot.html.twig' %}
|
||||
<span>{{ destination.hotel }}</span>
|
||||
{% include '_partials/_dot.html.twig' %}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
Fragebogen zur Reise
|
||||
</h1>
|
||||
{% include 'house_manager/questionnaire/_travel_summary.html.twig' %}
|
||||
<p class="-mt-6 pb-8 text-sm text-gray-500">
|
||||
<p class="-mt-4 pb-6 text-sm text-muted">
|
||||
Abgeschickt am {{ response.submittedAt|date('d.m.Y, H:i') }} Uhr
|
||||
</p>
|
||||
{% include 'questionnaire/_answers.html.twig' with { 'answers': response.answers, 'context': response.context } %}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</h1>
|
||||
{% include 'house_manager/questionnaire/_travel_summary.html.twig' %}
|
||||
{% if lastSaved %}
|
||||
<p class="-mt-6 pb-8 text-sm text-gray-500">
|
||||
<p class="-mt-4 pb-6 text-sm text-muted">
|
||||
Entwurf zuletzt gespeichert am {{ lastSaved|date('d.m.Y, H:i') }} Uhr
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user