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
@@ -27,7 +27,7 @@
|
||||
{% endif %}
|
||||
{{ form_row(form.requests) }}
|
||||
</div>
|
||||
<button type="submit" class="btn btn--cta">
|
||||
<button type="submit" class="btn-primary">
|
||||
Bewerbung abschicken!
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{% set label = 'in Bearbeitung' %}
|
||||
{% endif %}
|
||||
<a href="{{ url }}"
|
||||
class="btn btn--small flex items-center space-x-2 {{ class }}">
|
||||
class="btn-tool flex items-center space-x-2 {{ class }}">
|
||||
{{ icon(icon, 'w-4 h-4 shrink-0') }}
|
||||
<span>{{ label }}</span>
|
||||
</a>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{% if is_granted('WITHDRAW', application) %}
|
||||
<twig:MessageBox message="Du hast dich am {{ application.createdAt|date('d.m.Y') }} auf diesen Einsatz beworben."/>
|
||||
<button type="button"
|
||||
class="btn btn--secondary"
|
||||
class="btn-secondary"
|
||||
title="Bewerbung zurückziehen"
|
||||
hx-get="{{ path('app_teamer_application_withdraw', { 'uuid': application.uuid, 'r': forwarded_return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -52,7 +52,7 @@
|
||||
Erfüllst du mehrere oder alle Voraussetzungen für diesen Einsatz?
|
||||
</p>
|
||||
<div class="flex flex-wrap items-center gap-x-6 gap-y-3">
|
||||
<a href="{{ path('app_teamer_application_create', { 'uuid': assignment.uuid }) }}" class="btn btn--cta">
|
||||
<a href="{{ path('app_teamer_application_create', { 'uuid': assignment.uuid }) }}" class="btn-primary">
|
||||
Hier bewerben!
|
||||
</a>
|
||||
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
|
||||
@@ -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 }) }}"
|
||||
hx-get="{{ path('app_common_assignment_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
@@ -21,7 +21,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_assignment_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_assignment_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -62,26 +62,26 @@
|
||||
{% if application %}
|
||||
{% if application.status == constant('App\\Entity\\Application::STATUS_REJECTED') %}
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2 bg-gray-100 text-gray-800 hover:bg-gray-50">
|
||||
class="btn-tool flex items-center space-x-2 bg-gray-100 text-gray-800 hover:bg-gray-50">
|
||||
{{ icon('close', 'w-4 h-4 shrink-0') }}
|
||||
<span>Bewerbung abgelehnt</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2 bg-yellow-100 text-yellow-800 hover:bg-yellow-50">
|
||||
class="btn-tool flex items-center space-x-2 bg-yellow-100 text-yellow-800 hover:bg-yellow-50">
|
||||
{{ icon('hourglass', 'w-4 h-4 shrink-0') }}
|
||||
<span>in Bearbeitung</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% elseif disposition %}
|
||||
<a href="{{ path('app_teamer_disposition_detail', { 'uuid': disposition.uuid }) }}"
|
||||
class="btn btn--small flex items-center space-x-2 bg-green-100 text-green-700 hover:bg-green-50">
|
||||
class="btn-tool flex items-center space-x-2 bg-green-100 text-green-700 hover:bg-green-50">
|
||||
{{ icon('check', 'w-4 h-4 shrink-0') }}
|
||||
<span>eingeteilt</span>
|
||||
</a>
|
||||
{% elseif is_granted('APPLY', assignment) %}
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2">
|
||||
class="btn-tool flex items-center space-x-2">
|
||||
{{ icon('info', 'w-4 h-4 shrink-0') }}
|
||||
<span>weitere Infos</span>
|
||||
</a>
|
||||
|
||||
@@ -48,12 +48,12 @@
|
||||
{% set label = 'eingeteilt' %}
|
||||
{% else %}
|
||||
{% set icon = 'hand' %}
|
||||
{% set class = 'btn--info' %}
|
||||
{% set class = '' %}
|
||||
{% set url = path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) %}
|
||||
{% set label = 'bewerben' %}
|
||||
{% endif %}
|
||||
<a href="{{ url }}"
|
||||
class="btn btn--small flex items-center space-x-2 {{ class }}">
|
||||
class="btn-tool flex items-center space-x-2 {{ class }}">
|
||||
{{ icon(icon, 'w-4 h-4') }}
|
||||
<span>{{ label }}</span>
|
||||
</a>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</p>
|
||||
|
||||
{% if teamer.driverLicenseStatus == constant('App\\Entity\\Teamer::DRIVER_LICENSE_STATUS_DENIED') %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'error' } %}
|
||||
{% block message %}
|
||||
Dein zuletzt hochgeladener Führerschein wurde abgelehnt.
|
||||
{% if teamer.driverLicenseReviewComment %}
|
||||
@@ -28,7 +28,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if not form.vars.valid %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'error' } %}
|
||||
{% block message %}
|
||||
{% include '_partials/_form_errors.html.twig' with { 'form': form } %}
|
||||
{% endblock %}
|
||||
@@ -61,7 +61,7 @@
|
||||
{{ form_row(form.confirmTermsOfUse) }}
|
||||
</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>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</p>
|
||||
|
||||
{% if not form.vars.valid %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'error' } %}
|
||||
{% block message %}
|
||||
{% include '_partials/_form_errors.html.twig' with { 'form': form } %}
|
||||
{% endblock %}
|
||||
@@ -30,7 +30,7 @@
|
||||
{{ form_row(form.holder) }}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</p>
|
||||
|
||||
{% if not form.vars.valid %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'error' } %}
|
||||
{% block message %}
|
||||
{% include '_partials/_form_errors.html.twig' with { 'form': form } %}
|
||||
{% endblock %}
|
||||
@@ -26,7 +26,7 @@
|
||||
{{ form_row(form.mealPreference) }}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</p>
|
||||
|
||||
{% if not form.vars.valid %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
|
||||
{% embed '_partials/_alert.html.twig' with { 'type': 'error' } %}
|
||||
{% block message %}
|
||||
{% include '_partials/_form_errors.html.twig' with { 'form': form } %}
|
||||
{% endblock %}
|
||||
@@ -74,7 +74,7 @@
|
||||
{{ form_row(form.confirmed) }}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Bestätigen
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{{ path('app_teamer_disposition_detail', { 'uuid': disposition.uuid, 'r': return_url() }) }}"
|
||||
class="btn btn--small flex items-center space-x-2">
|
||||
class="btn-tool flex items-center space-x-2">
|
||||
{{ icon('info', 'w-4 h-4 shrink-0') }}
|
||||
<span>Details</span>
|
||||
</a>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
{% if seasonAssignment is same as(linkedSeasonAssignment) %}
|
||||
<a href="{{ path('app_teamer_season_index') }}"
|
||||
class="btn btn--small flex items-center space-x-2">
|
||||
class="btn-tool flex items-center space-x-2">
|
||||
{{ icon('info', 'w-4 h-4 shrink-0') }}
|
||||
<span>Details</span>
|
||||
</a>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
{% if form.pickup is defined %}
|
||||
{{ form_row(form.pickup) }}
|
||||
{% endif %}
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Aktualisieren
|
||||
</button>
|
||||
</div>
|
||||
@@ -112,7 +112,7 @@
|
||||
{% if form.confirmInvoiceData is defined %}
|
||||
{{ form_row(form.confirmInvoiceData) }}
|
||||
{% endif %}
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Aktualisieren
|
||||
</button>
|
||||
</div>
|
||||
@@ -228,7 +228,7 @@
|
||||
<p class="pb-4">
|
||||
Wie lief dein Einsatz? Dein Feedback hilft uns, besser zu werden.
|
||||
</p>
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn inline-block mb-4">
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn-secondary inline-block mb-4">
|
||||
Zum Fragebogen
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
'accepted_files': 'image/jpg,image/jpeg,application/pdf',
|
||||
} %}
|
||||
</div>
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Belege speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<button type="button"
|
||||
class="btn btn--small btn--secondary"
|
||||
class="btn-tool"
|
||||
title="Eigenen Zeitraum hinzufügen"
|
||||
hx-get="{{ path('app_teamer_profile_availability_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -9,7 +9,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) }}
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
nicht vorhanden
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{{ path('app_teamer_check_driver_license') }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_teamer_check_driver_license') }}" class="btn-tool">
|
||||
Führerscheinstatus bearbeiten
|
||||
</a>
|
||||
</div>
|
||||
@@ -175,7 +175,7 @@
|
||||
anmelden.
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn btn--small bg-red-500 text-white"
|
||||
class="btn-tool bg-red-500 text-white"
|
||||
hx-get="{{ path('app_teamer_profile_delete_account') }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
@@ -192,7 +192,7 @@
|
||||
Mein Foto
|
||||
</h2>
|
||||
<img src="{{ asset(teamer.photo | upload_filename_full | imagine_filter('profile')) }}"
|
||||
class="w-48 h-auto border-2 border-primary"
|
||||
class="w-48 h-auto border-2 border-brand"
|
||||
alt="{{ teamer.firstName }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -207,7 +207,7 @@
|
||||
} %}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Aktualisieren
|
||||
</button>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
} %}
|
||||
</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) }}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
{{ form_row(form.confirmed) }}
|
||||
</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">
|
||||
Account löschen
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<button type="button"
|
||||
class="btn btn--small btn--secondary"
|
||||
class="btn-tool"
|
||||
title="Lizenz hinzufügen"
|
||||
hx-get="{{ path('app_teamer_profile_license_add') }}"
|
||||
hx-target="body"
|
||||
@@ -88,7 +88,7 @@
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</section>
|
||||
{% endfor %}
|
||||
{% if open %}
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn btn--cta self-start">
|
||||
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn-primary self-start">
|
||||
Offenen Fragebogen ausfüllen
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
{% endif %}
|
||||
|
||||
<button type="button"
|
||||
class="btn mt-4"
|
||||
class="btn-secondary mt-4"
|
||||
hx-get="{{ path('app_teamer_season_upload', { 'uuid': seasonAssignment.uuid }) }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
'accepted_files': 'image/jpg,image/jpeg,application/pdf',
|
||||
} %}
|
||||
</div>
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Dokumente speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
'accepted_files': 'image/jpg,image/jpeg,application/pdf',
|
||||
} %}
|
||||
</div>
|
||||
<button type="submit" class="btn" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-primary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Nachweis speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
Reference in new issue
Block a user