style: align with the ep-corporate-design skill
This commit is contained in:
1 parent
50ef662dd3
commit
ebad54e989
162 files changed
+768
-640
No files matched your search
@@ -9,7 +9,7 @@
|
||||
</h1>
|
||||
<div class="flex flex-col items-end space-y-2 md:flex-row md:items-center md:space-x-2 md:space-y-0">
|
||||
<button type="button"
|
||||
class="{{ html_classes('btn btn--small', { 'btn--secondary': filterDto.active }) }}"
|
||||
class="{{ html_classes('btn-tool', { 'border-brand bg-brand-light text-brand': filterDto.active }) }}"
|
||||
title="Filter"
|
||||
hx-get="{{ path('app_common_application_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_application_filter_reset', { 'r': return_url() }) }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.specialAgreements) }}
|
||||
<div class="mt-6 flex items-center justify-between">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Ja
|
||||
</button>
|
||||
<button type="button" class="btn btn--secondary" {{ stimulus_action('modal', 'close') }}>
|
||||
<button type="button" class="btn-secondary" {{ stimulus_action('modal', 'close') }}>
|
||||
Abbrechen
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ form_row(form.comment) }}
|
||||
{{ form_row(form.commentVisible) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -62,14 +62,14 @@
|
||||
{% if submission.email %}
|
||||
<div class="flex flex-wrap items-center gap-2 pt-4">
|
||||
<button type="button"
|
||||
class="btn btn--small btn--secondary"
|
||||
class="btn-tool"
|
||||
hx-get="{{ path('app_admin_application_form_submission_send_receipt', { 'uuid': submission.uuid, 'r': forwarded_return_url() }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
Eingangsbestätigung erneut senden
|
||||
</button>
|
||||
<button type="button"
|
||||
class="btn btn--small"
|
||||
class="btn-tool"
|
||||
hx-get="{{ path('app_admin_application_form_submission_send_follow_up', { 'uuid': submission.uuid, 'r': forwarded_return_url() }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
@@ -98,7 +98,7 @@
|
||||
<div class="text-sm">geführt am {{ submission.secondCallHeldAt|date('d.m.Y') }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ form_widget(callsForm.save, { 'attr': { 'class': 'btn btn--small' } }) }}
|
||||
{{ form_widget(callsForm.save, { 'attr': { 'class': 'btn-tool' } }) }}
|
||||
{{ form_rest(callsForm) }}
|
||||
{{ form_end(callsForm) }}
|
||||
</div>
|
||||
@@ -109,12 +109,12 @@
|
||||
<div class="pt-4">
|
||||
{% if submission.user and submission.user.teamer %}
|
||||
<a href="{{ path('app_administrative_teamer_profile', { 'uuid': submission.user.teamer.uuid, 'r': forwarded_return_url() }) }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
class="btn-tool">
|
||||
Teamer:innenprofil öffnen
|
||||
</a>
|
||||
{% elseif submission.email %}
|
||||
<button type="button"
|
||||
class="btn btn--small"
|
||||
class="btn-tool"
|
||||
hx-get="{{ path('app_admin_application_form_submission_create_teamer', { 'uuid': submission.uuid, 'r': forwarded_return_url() }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</h1>
|
||||
<div class="flex flex-col items-end space-y-2 md:flex-row md:items-center md:space-x-2 md:space-y-0">
|
||||
<button type="button"
|
||||
class="{{ html_classes('btn btn--small', { 'btn--secondary': filterDto.active }) }}"
|
||||
class="{{ html_classes('btn-tool', { 'border-brand bg-brand-light text-brand': filterDto.active }) }}"
|
||||
title="Filter"
|
||||
hx-get="{{ path('app_common_application_form_submission_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_application_form_submission_filter_reset') }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -107,13 +107,13 @@
|
||||
<td>
|
||||
<twig:DropDown>
|
||||
<a href="{{ path('app_admin_application_form_submission_detail', { 'uuid': submission.uuid, 'r': return_url() }) }}"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm"
|
||||
role="menuitem"
|
||||
tabindex="-1">
|
||||
Details
|
||||
</a>
|
||||
<button type="button"
|
||||
class="text-red-500 hover:text-primary block px-4 py-2 text-sm w-full text-left"
|
||||
class="text-red-500 hover:text-brand block px-4 py-2 text-sm w-full text-left"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
hx-get="{{ path('app_admin_application_form_submission_delete', { 'uuid': submission.uuid, 'r': return_url() }) }}"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-4">
|
||||
{{ form_row(form.remarks) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-secondary border-red-700 text-red-800 hover:bg-red-700 hover:text-white">
|
||||
Löschen
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
{{ form_row(form.comment) }}
|
||||
{{ form_row(form.commentInternal) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern und freigeben
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{ form_row(form.dateTo) }}
|
||||
{{ form_row(form.description) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Zeitraum hinzufügen"
|
||||
hx-get="{{ path('app_admin_system_availability_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{{ form_errors(form) }}
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Ansprechperson hinzufügen"
|
||||
hx-get="{{ path('app_admin_system_contact_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -23,15 +23,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
<a href="{{ path('app_admin_system_email_text_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_admin_system_email_text_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
{% if emailText.id is not null %}
|
||||
<button type="button"
|
||||
class="btn btn--secondary text-red-500"
|
||||
class="btn-secondary text-red-500"
|
||||
hx-get="{{ path('app_admin_system_email_text_reset', { 'key': definition.key.value }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{ text.bodyHtml | raw }}
|
||||
</div>
|
||||
<p>
|
||||
<span class="btn inline-block">Zum Portal</span>
|
||||
<span class="btn-secondary inline-block">Zum Portal</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="pt-4 text-sm text-gray-500">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{ form_row(form.nameInternal) }}
|
||||
{{ form_row(form.value) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Honorar hinzufügen"
|
||||
hx-get="{{ path('app_admin_system_fee_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
<a href="{{ path('app_admin_system_feedback_set_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_admin_system_feedback_set_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ path('app_admin_system_feedback_set_create') }}" class="btn">
|
||||
<a href="{{ path('app_admin_system_feedback_set_create') }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -8,10 +8,10 @@
|
||||
{{ form_row(form.costUnit) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
<a href="{{ path('app_admin_system_job_profile_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_admin_system_job_profile_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ path('app_admin_system_job_profile_create') }}" class="btn">
|
||||
<a href="{{ path('app_admin_system_job_profile_create') }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-8">
|
||||
{{ form_row(form.name) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Fortbildung hinzufügen"
|
||||
hx-get="{{ path('app_admin_system_training_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
{{ form_row(form.disabledReasonInternal) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
<a href="{{ path('app_admin_system_user_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_admin_system_user_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
{{ label }}
|
||||
</span>
|
||||
<button type="button"
|
||||
class="btn btn--secondary"
|
||||
class="btn-secondary"
|
||||
hx-get="{{ path('app_admin_system_user_approve_role', { 'id': user.id, 'role': role }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<button type="button"
|
||||
class="{{ html_classes('btn btn--small shrink-0', { 'btn--secondary': filterDto.active }) }}"
|
||||
class="{{ html_classes('btn-tool shrink-0', { 'border-brand bg-brand-light text-brand': filterDto.active }) }}"
|
||||
title="Team filtern"
|
||||
hx-get="{{ path('app_common_teamer_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{{ bodyHtml | raw }}
|
||||
{{ include('email/_colleagues.html.twig', {colleagues: colleagues | default([])}) }}
|
||||
<p>
|
||||
<span class="btn inline-block">Zum Portal</span>
|
||||
<span class="btn-secondary inline-block">Zum Portal</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="pt-4 text-sm text-gray-500">
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
{# nobody to write to means there is nothing to confirm, only the preview stays useful #}
|
||||
{% if recipients.eligibleCount > 0 %}
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-primary"
|
||||
hx-post="{{ path('app_admin_teamer_mailing_confirm', { 'scope': scope }) }}"
|
||||
hx-include="closest form"
|
||||
hx-target="body"
|
||||
@@ -87,11 +87,11 @@
|
||||
<span>Senden</span>
|
||||
</button>
|
||||
{% endif %}
|
||||
<button type="submit" class="btn btn--secondary">
|
||||
<button type="submit" class="btn-secondary">
|
||||
Vorschau an mich senden
|
||||
</button>
|
||||
{% if hasDraft %}
|
||||
<a href="{{ path('app_admin_teamer_mailing_discard', { 'scope': scope }) }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_admin_teamer_mailing_discard', { 'scope': scope }) }}" class="btn-secondary">
|
||||
Entwurf verwerfen
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{{ form_row(form.disabledReason) }}
|
||||
{{ form_row(form.disabledReasonInternal) }}
|
||||
</div>
|
||||
<button type="submit" class="btn bg-red-500 text-white">
|
||||
<button type="submit" class="btn-secondary border-red-700 text-red-800 hover:bg-red-700 hover:text-white">
|
||||
Sperren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="pb-4">
|
||||
{{ form_row(form.remarks) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="pb-4">
|
||||
{{ form_row(form.allowOverlappingApplications) }}
|
||||
</div>
|
||||
<button type="submit" class="btn btn--small">
|
||||
<button type="submit" class="btn-tool">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-8">
|
||||
{{ form_row(form.date) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</h1>
|
||||
<div class="flex flex-col items-end space-y-2 md:flex-row md:items-center md:space-x-2 md:space-y-0">
|
||||
<button type="button"
|
||||
class="{{ html_classes('btn btn--small', { 'btn--secondary': filterDto.active }) }}"
|
||||
class="{{ html_classes('btn-tool', { 'border-brand bg-brand-light text-brand': filterDto.active }) }}"
|
||||
title="Arbeitszeiten filtern"
|
||||
hx-get="{{ path('app_common_work_month_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_work_month_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_work_month_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -91,7 +91,7 @@
|
||||
<td>
|
||||
<twig:DropDown>
|
||||
<a href="{{ path('app_admin_work_month_pdf', { 'uuid': workMonth.uuid }) }}"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
target="_blank">
|
||||
@@ -99,7 +99,7 @@
|
||||
</a>
|
||||
{% if workMonth.status.value == 'submitted' %}
|
||||
<a href="{{ path('app_admin_work_month_review', { 'uuid': workMonth.uuid, 'r': return_url() }) }}"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
hx-get="{{ path('app_admin_work_month_review', { 'uuid': workMonth.uuid, 'r': return_url() }) }}"
|
||||
@@ -110,7 +110,7 @@
|
||||
{% endif %}
|
||||
<form method="post" action="{{ path('app_admin_work_month_sync', { 'uuid': workMonth.uuid, 'r': return_url() }) }}">
|
||||
<button type="submit"
|
||||
class="w-full text-left text-gray-700 hover:text-primary block px-4 py-2 text-sm"
|
||||
class="w-full text-left text-gray-700 hover:text-brand block px-4 py-2 text-sm"
|
||||
role="menuitem"
|
||||
tabindex="-1">
|
||||
Erneut abrufen
|
||||
@@ -119,7 +119,7 @@
|
||||
{% if workMonth.status.value in ['submitted', 'approved'] %}
|
||||
<form method="post" action="{{ path('app_admin_work_month_unlock', { 'uuid': workMonth.uuid, 'r': return_url() }) }}">
|
||||
<button type="submit"
|
||||
class="w-full text-left text-gray-700 hover:text-primary block px-4 py-2 text-sm"
|
||||
class="w-full text-left text-gray-700 hover:text-brand block px-4 py-2 text-sm"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
onclick="return confirm('Der Monat wird wieder geöffnet und muss neu unterschrieben werden. Fortfahren?')">
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
{{ form_row(form.comment) }}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
Reference in new issue
Block a user