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
@@ -41,10 +41,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="{{ returnUrl }}" class="btn btn--secondary">
|
||||
<a href="{{ returnUrl }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<span class="border px-2 py-1 text-xs font-bold uppercase tracking-wide {{ status[1] }}">{{ status[0] }}</span>
|
||||
{% endif %}
|
||||
{% if is_granted('EDIT', assignment) %}
|
||||
<a href="{{ path('app_administrative_assignment_edit', { 'uuid': assignment.uuid, 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_administrative_assignment_edit', { 'uuid': assignment.uuid, 'r': return_url() }) }}" class="btn-tool">
|
||||
{{ icon('edit', 'w-4 h-4 shrink-0') }}
|
||||
<span>bearbeiten</span>
|
||||
</a>
|
||||
@@ -225,7 +225,7 @@
|
||||
</button>
|
||||
<twig:DropDown>
|
||||
<button type="button"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm w-full text-left"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm w-full text-left"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
hx-get="{{ path('app_administrative_disposition_special_agreements', { 'uuid': disposition.uuid, 'r': forwarded_return_url() }) }}"
|
||||
@@ -235,7 +235,7 @@
|
||||
</button>
|
||||
{% if is_granted('ADMIN_DOCUMENT_UPLOAD', disposition) %}
|
||||
<button type="button"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm w-full text-left"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm w-full text-left"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
hx-get="{{ path('app_administrative_disposition_document_upload', { 'uuid': disposition.uuid, 'type': 'contract', 'r': forwarded_return_url() }) }}"
|
||||
@@ -244,7 +244,7 @@
|
||||
Honorarvertrag hochladen
|
||||
</button>
|
||||
<button type="button"
|
||||
class="text-gray-700 hover:text-primary block px-4 py-2 text-sm w-full text-left"
|
||||
class="text-gray-700 hover:text-brand block px-4 py-2 text-sm w-full text-left"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
hx-get="{{ path('app_administrative_disposition_document_upload', { 'uuid': disposition.uuid, 'type': 'invoice', 'r': forwarded_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 }) }}"
|
||||
title="Filter"
|
||||
hx-get="{{ path('app_common_assignment_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -30,17 +30,17 @@
|
||||
{# starts a new mailing even with nothing ticked, rather than reopening the last draft #}
|
||||
<input type="hidden" name="start" value="1">
|
||||
<button type="submit"
|
||||
class="btn btn--small btn--secondary"
|
||||
class="btn-tool"
|
||||
title="Mail an die bestätigten Teamer:innen der ausgewählten Einsätze">
|
||||
{{ icon('mail', 'w-4 h-4 shrink-0') }}
|
||||
<span class="whitespace-nowrap">Mail an Teamer:innen</span>
|
||||
</button>
|
||||
</form>
|
||||
<a href="{{ path('app_administrative_assignment_create', { 'r': return_url() }) }}" class="btn btn--small">
|
||||
<a href="{{ path('app_administrative_assignment_create', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Neu
|
||||
</a>
|
||||
{% 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 %}
|
||||
@@ -93,7 +93,7 @@
|
||||
name="assignments[]"
|
||||
value="{{ assignment.uuid }}"
|
||||
form="assignment-mailing-select"
|
||||
class="h-4 w-4 rounded-sm text-primary border-gray-300 focus:ring-primary"
|
||||
class="h-4 w-4 rounded-sm text-brand border-gray-300 focus:ring-brand"
|
||||
title="Für Mail auswählen"
|
||||
aria-label="Einsatz {{ assignment.id }} für Mail auswählen">
|
||||
</td>
|
||||
@@ -190,7 +190,7 @@
|
||||
<td>
|
||||
<twig:DropDown>
|
||||
<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_administrative_assignment_delete', { 'uuid': assignment.uuid }) }}"
|
||||
@@ -200,7 +200,7 @@
|
||||
</button>
|
||||
{% if is_granted('CALL_OFF', assignment) %}
|
||||
<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_administrative_assignment_call_off', { 'uuid': assignment.uuid }) }}"
|
||||
@@ -210,14 +210,14 @@
|
||||
</button>
|
||||
{% endif %}
|
||||
<a href="{{ path('app_administrative_assignment_duplicate', { 'uuid': assignment.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">
|
||||
duplizieren
|
||||
</a>
|
||||
{% if is_granted('EDIT', assignment) %}
|
||||
<a href="{{ path('app_administrative_assignment_edit', { 'uuid': assignment.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">
|
||||
bearbeiten
|
||||
@@ -233,14 +233,14 @@
|
||||
</button>
|
||||
{% endif %}
|
||||
<a href="{{ path('app_administrative_questionnaire_test', { 'uuid': assignment.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"
|
||||
title="Das Reiseleitungsfeedback ansehen und ausprobieren, wie es Teamer:innen dieses Einsatzes bekommen. Es wird nichts gespeichert.">
|
||||
Vorschau Reiseleitungsfeedback
|
||||
</a>
|
||||
<a href="{{ path('app_administrative_questionnaire_test_house_manager', { 'uuid': assignment.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"
|
||||
title="Das Hausleitungsfeedback zur Reise dieses Einsatzes ansehen und ausprobieren. Es wird nichts gespeichert.">
|
||||
@@ -293,7 +293,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="{{ path('app_administrative_assignment_create', { 'r': return_url() }) }}" class="btn">
|
||||
<a href="{{ path('app_administrative_assignment_create', { 'r': return_url() }) }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -39,13 +39,13 @@
|
||||
</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="btn btn--small btn--secondary"
|
||||
class="btn-tool"
|
||||
{{ stimulus_action('timeline-scroll', 'scrollToToday') }}>
|
||||
{{ icon('calendar', 'w-4 h-4 shrink-0') }}
|
||||
<span>Heute</span>
|
||||
</button>
|
||||
<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_timeline_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -58,7 +58,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_timeline_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_timeline_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</label>
|
||||
<select id="mailing-template"
|
||||
name="template"
|
||||
class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-xs ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-primary text-sm"
|
||||
class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-xs ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-brand text-sm"
|
||||
hx-post="{{ path('app_administrative_assignment_mailing_template') }}"
|
||||
hx-trigger="change"
|
||||
hx-include="#mailing-form"
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<div class="flex items-center space-x-2 pb-8">
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-primary"
|
||||
hx-post="{{ path('app_administrative_assignment_mailing_confirm') }}"
|
||||
hx-include="closest form"
|
||||
hx-target="body"
|
||||
@@ -84,11 +84,11 @@
|
||||
{{ icon('mail', 'w-4 h-4 shrink-0') }}
|
||||
<span>Senden</span>
|
||||
</button>
|
||||
<button type="submit" class="btn btn--secondary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
<button type="submit" class="btn-secondary" {{ stimulus_target('form-upload-guard', 'submit') }}>
|
||||
Vorschau an mich senden
|
||||
</button>
|
||||
{% if hasDraft %}
|
||||
<a href="{{ path('app_administrative_assignment_mailing_discard') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_assignment_mailing_discard') }}" class="btn-secondary">
|
||||
Entwurf verwerfen
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -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_availability_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_availability_filter_reset', { 'r': return_url() }) }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -77,7 +77,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"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{ form_row(form.calledOffReason) }}
|
||||
{{ form_row(form.sendNotification) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Absagen
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -14,7 +14,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') }}>
|
||||
Upload speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-4">
|
||||
{{ form_row(form.specialAgreements) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -15,7 +15,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">
|
||||
<a href="{{ path('app_administrative_document_batch_download', { 'type': type, 'status': status }) }}"
|
||||
class="btn btn--small">
|
||||
class="btn-tool">
|
||||
{{ icon('download', 'w-4 h-4 shrink-0') }}
|
||||
<span>alle herunterladen</span>
|
||||
</a>
|
||||
|
||||
@@ -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_document_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_document_filter_reset', { 'r': return_url() }) }}"
|
||||
class="btn btn--small btn--secondary">
|
||||
class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
{% endif %}
|
||||
{{ form_row(form.comment) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<div class="pb-4">
|
||||
{{ form_row(form.comment) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</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="Filter"
|
||||
hx-get="{{ path('app_common_feedback_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -22,11 +22,11 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_feedback_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_feedback_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="{{ path('app_administrative_feedback_export') }}" class="btn btn--small" title="Nach Excel exportieren">
|
||||
<a href="{{ path('app_administrative_feedback_export') }}" class="btn-tool" title="Nach Excel exportieren">
|
||||
{{ icon('excel', 'w-4 h-4 shrink-0') }}
|
||||
<span>Export</span>
|
||||
</a>
|
||||
@@ -103,7 +103,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% if is_granted('ROLE_TEAM_ADMIN') %}
|
||||
<a href="{{ path('app_admin_feedback_provide') }}" class="btn" title="Feedback erfassen">
|
||||
<a href="{{ path('app_admin_feedback_provide') }}" class="btn-secondary" title="Feedback erfassen">
|
||||
Neu
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{{ form_row(form.commentInternal) }}
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-4">
|
||||
{{ form_row(form.muteNotifications) }}
|
||||
</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="Filter"
|
||||
hx-get="{{ path('app_common_questionnaire_response_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_questionnaire_response_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_questionnaire_response_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -33,7 +33,7 @@
|
||||
{% for other in definitions %}
|
||||
{% set current = other.key == definition.key %}
|
||||
<a href="{{ path('app_administrative_questionnaire_index', { 'questionnaire': other.key }) }}"
|
||||
class="{{ html_classes('tab', { 'tab--current': current }) }}"
|
||||
class="tab"
|
||||
{% if current %}aria-current="page"{% endif %}>{{ other.title }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="pt-8">
|
||||
<a href="{{ path('app_administrative_questionnaire_test', { 'uuid': assignment.uuid, 'r': app.request.query.get('r') }) }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_questionnaire_test', { 'uuid': assignment.uuid, 'r': app.request.query.get('r') }) }}" class="btn-secondary">
|
||||
Erneut ausprobieren
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
} %}
|
||||
{% include 'questionnaire/_answers.html.twig' with { 'answers': submitted } %}
|
||||
<div class="pt-8">
|
||||
<a href="{{ path('app_administrative_questionnaire_test_house_manager', { 'uuid': assignment.uuid, 'r': app.request.query.get('r') }) }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_questionnaire_test_house_manager', { 'uuid': assignment.uuid, 'r': app.request.query.get('r') }) }}" class="btn-secondary">
|
||||
Erneut ausprobieren
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -14,10 +14,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="{{ returnUrl }}" class="btn btn--secondary">
|
||||
<a href="{{ returnUrl }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</td>
|
||||
<td class="py-2 pr-4 align-top text-center">
|
||||
<input type="checkbox"
|
||||
class="text-primary"
|
||||
class="text-brand"
|
||||
{{ row.task.officeDone ? 'checked' : '' }}
|
||||
aria-label="Büro erledigt"
|
||||
hx-post="{{ path('app_administrative_season_assignment_task_toggle', { 'uuid': row.task.uuid, 'field': 'office_done' }) }}"
|
||||
@@ -40,7 +40,7 @@
|
||||
</td>
|
||||
<td class="py-2 pr-4 align-top text-center">
|
||||
<input type="checkbox"
|
||||
class="text-primary"
|
||||
class="text-brand"
|
||||
{{ row.task.done ? 'checked' : '' }}
|
||||
aria-label="Erledigt"
|
||||
hx-post="{{ path('app_administrative_season_assignment_task_toggle', { 'uuid': row.task.uuid, 'field': 'done' }) }}"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</span>
|
||||
</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">
|
||||
<a href="{{ path('app_administrative_season_assignment_edit', { 'uuid': seasonAssignment.uuid, 'r': return_url() }) }}" class="btn btn--small">
|
||||
<a href="{{ path('app_administrative_season_assignment_edit', { 'uuid': seasonAssignment.uuid, 'r': return_url() }) }}" class="btn-tool">
|
||||
bearbeiten
|
||||
</a>
|
||||
</div>
|
||||
@@ -70,7 +70,7 @@
|
||||
{% if teamer is not null and teamer.photo is not null %}
|
||||
<a href="{{ path('app_administrative_teamer_profile', { 'uuid': teamer.uuid, 'r': return_url() }) }}">
|
||||
<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 }}">
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -89,7 +89,7 @@
|
||||
Dokumente
|
||||
</h2>
|
||||
<button type="button"
|
||||
class="btn btn--small"
|
||||
class="btn-tool"
|
||||
hx-get="{{ path('app_administrative_season_assignment_document_upload', { 'uuid': seasonAssignment.uuid, 'r': 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="Saisoneinsätze filtern"
|
||||
hx-get="{{ path('app_common_season_assignment_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_season_assignment_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_season_assignment_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -89,19 +89,19 @@
|
||||
<td>
|
||||
<twig:DropDown>
|
||||
<a href="{{ path('app_administrative_season_assignment_detail', { 'uuid': seasonAssignment.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>
|
||||
<a href="{{ path('app_administrative_season_assignment_edit', { 'uuid': seasonAssignment.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">
|
||||
bearbeiten
|
||||
</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_administrative_season_assignment_delete', { 'uuid': seasonAssignment.uuid }) }}"
|
||||
@@ -130,7 +130,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="{{ path('app_administrative_season_assignment_create', { 'r': return_url() }) }}" class="btn">
|
||||
<a href="{{ path('app_administrative_season_assignment_create', { 'r': return_url() }) }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -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') }}>
|
||||
Dokumente speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{ form_row(form.deadlineOverride2) }}
|
||||
{{ form_row(form.applyToAll) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
{{ form_row(form.dateTo) }}
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn btn--small' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn btn--small btn--secondary' } }) }}
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn-tool' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn-tool' } }) }}
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
{{ form_row(form.dateTo) }}
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn btn--small' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn btn--small btn--secondary' } }) }}
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn-tool' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn-tool' } }) }}
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
{{ form_row(form.dateTo) }}
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn btn--small' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn btn--small btn--secondary' } }) }}
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn-tool' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn-tool' } }) }}
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
{{ form_row(form.dateTo) }}
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn btn--small' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn btn--small btn--secondary' } }) }}
|
||||
{{ form_widget(form.apply, { attr: { class: 'btn-tool' } }) }}
|
||||
{{ form_widget(form.reset, { attr: { class: 'btn-tool' } }) }}
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
@@ -41,10 +41,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_administrative_system_destination_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_system_destination_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -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_destination_filter', { 'r': return_url() }) }}"
|
||||
hx-target="body"
|
||||
@@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_destination_filter_reset', { 'r': return_url() }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_destination_filter_reset', { 'r': return_url() }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -67,7 +67,7 @@
|
||||
<td>
|
||||
<twig:DropDown>
|
||||
<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_administrative_system_destination_delete', { 'id': destination.id }) }}"
|
||||
@@ -76,13 +76,13 @@
|
||||
löschen
|
||||
</button>
|
||||
<a href="{{ path('app_administrative_system_destination_duplicate', { 'id': destination.id }) }}"
|
||||
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">
|
||||
duplizieren
|
||||
</a>
|
||||
<a href="{{ path('app_administrative_system_destination_edit', { 'id': destination.id }) }}"
|
||||
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">
|
||||
bearbeiten
|
||||
@@ -103,7 +103,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="{{ path('app_administrative_system_destination_create') }}" class="btn">
|
||||
<a href="{{ path('app_administrative_system_destination_create') }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -102,7 +102,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
hx-get="{{ path('app_administrative_system_document_upload') }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
{{ form_row(form.displayName) }}
|
||||
{{ form_row(form.token) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
'accepted_files': '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') }}>
|
||||
ersetzen
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
'accepted_files': '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') }}>
|
||||
Uploads speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
{{ form_row(form.answer) }}
|
||||
</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_administrative_system_faq_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_system_faq_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ path('app_administrative_system_faq_create') }}" class="btn">
|
||||
<a href="{{ path('app_administrative_system_faq_create') }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -48,10 +48,10 @@
|
||||
</div>
|
||||
|
||||
<div class="flex items-center space-x-2">
|
||||
<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>
|
||||
<a href="{{ path('app_administrative_system_mailing_template_index') }}" class="btn btn--secondary">
|
||||
<a href="{{ path('app_administrative_system_mailing_template_index') }}" class="btn-secondary">
|
||||
Abbrechen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ path('app_administrative_system_mailing_template_create') }}" class="btn">
|
||||
<a href="{{ path('app_administrative_system_mailing_template_create') }}" class="btn-secondary">
|
||||
Neu
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -3,7 +3,7 @@
|
||||
{{ form_row(form.status) }}
|
||||
{{ form_row(form.message) }}
|
||||
</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"
|
||||
hx-get="{{ path('app_administrative_system_news_create') }}"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-8">
|
||||
{{ form_row(form.displayName) }}
|
||||
</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) }}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<form hx-post="{{ path('app_administrative_system_season_task_document_propagate', { 'uuid': seasonTaskDocument.uuid }) }}"
|
||||
hx-target="#htmx-modal"
|
||||
hx-swap="outerHTML">
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
übertragen
|
||||
</button>
|
||||
</form>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ form_row(form.guiding) }}
|
||||
{{ form_row(form.enabled) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Speichern
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<h1 class="text-2xl font-bold">
|
||||
Besetzungsmatrix
|
||||
</h1>
|
||||
<a href="{{ path('app_administrative_system_staffing_rule_preview') }}" class="btn">
|
||||
<a href="{{ path('app_administrative_system_staffing_rule_preview') }}" class="btn-secondary">
|
||||
Vorschau
|
||||
</a>
|
||||
</div>
|
||||
@@ -80,7 +80,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Zeile hinzufügen"
|
||||
hx-get="{{ path('app_administrative_system_staffing_rule_create') }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Besetzungsmatrix – Vorschau
|
||||
</h1>
|
||||
<div class="flex items-center space-x-2">
|
||||
<a href="{{ path('app_administrative_system_staffing_rule_export') }}" class="btn">
|
||||
<a href="{{ path('app_administrative_system_staffing_rule_export') }}" class="btn-secondary">
|
||||
Excel-Export
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,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="Team filtern"
|
||||
hx-get="{{ path('app_common_teamer_filter', { 'r': return_url(), 'scope': scope }) }}"
|
||||
hx-target="body"
|
||||
@@ -20,13 +20,13 @@
|
||||
{% endif %}
|
||||
</button>
|
||||
{% if filterDto.active %}
|
||||
<a href="{{ path('app_common_teamer_filter_reset', { 'r': return_url(), 'scope': scope }) }}" class="btn btn--small btn--secondary">
|
||||
<a href="{{ path('app_common_teamer_filter_reset', { 'r': return_url(), 'scope': scope }) }}" class="btn-tool">
|
||||
Reset
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if is_granted('ROLE_TEAM_ADMIN') %}
|
||||
<a href="{{ path('app_admin_teamer_mailing', { 'r': return_url(), 'scope': scope }) }}"
|
||||
class="btn btn--small"
|
||||
class="btn-tool"
|
||||
title="Mail an die gefilterte Liste schreiben">
|
||||
{{ icon('mail', 'w-4 h-4 shrink-0') }}
|
||||
<span>Mailing</span>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
{{ form_row(form.status) }}
|
||||
{{ form_row(form.comment) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
<button type="submit" class="btn-primary">
|
||||
Aktualisieren
|
||||
</button>
|
||||
{{ form_rest(form) }}
|
||||
|
||||
@@ -90,10 +90,10 @@
|
||||
<div class="flex flex-col space-y-4">
|
||||
{% if teamer.photo %}
|
||||
<img src="{{ asset(teamer.photo | upload_filename_full | imagine_filter('profile')) }}"
|
||||
class="w-32 h-auto border-2 border-primary"
|
||||
class="w-32 h-auto border-2 border-brand"
|
||||
alt="{{ teamer.firstName }}">
|
||||
{% else %}
|
||||
<div class="border-2 border-primary">
|
||||
<div class="border-2 border-brand">
|
||||
{{ icon('user', 'w-32 h-32 text-gray-200') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -101,20 +101,20 @@
|
||||
<ul class="pb-8 divide-y divide-gray-200">
|
||||
{% if teamer.communication.phone %}
|
||||
<li class="py-2">
|
||||
<a href="tel:{{ teamer.communication.phone }}" class="flex items-center space-x-2 hover:text-primary">
|
||||
<a href="tel:{{ teamer.communication.phone }}" class="flex items-center space-x-2 hover:text-brand">
|
||||
{{ icon('phone', 'w-4 h-4') }}
|
||||
<span class="shrink-0">{{ teamer.communication.phone }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="py-2">
|
||||
<a href="tel:{{ teamer.communication.mobile }}" class="flex items-center space-x-2 hover:text-primary">
|
||||
<a href="tel:{{ teamer.communication.mobile }}" class="flex items-center space-x-2 hover:text-brand">
|
||||
{{ icon('mobile', 'w-4 h-4') }}
|
||||
<span class="shrink-0">{{ teamer.communication.mobile }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="py-2">
|
||||
<a href="mailto:{{ teamer.communication.email }}" class="flex items-center space-x-2 hover:text-primary">
|
||||
<a href="mailto:{{ teamer.communication.email }}" class="flex items-center space-x-2 hover:text-brand">
|
||||
{{ icon('at', 'w-4 h-4') }}
|
||||
<span class="shrink-0">{{ teamer.communication.email }}</span>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user