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
@@ -1,11 +1,16 @@
|
||||
{% set type = type|default('info') %}
|
||||
|
||||
{# light with a coloured left bar, as the notices of the apps portal (EP/apps Alert.tsx) #}
|
||||
<div class="{{ html_classes('p-4 mb-4 flex items-start space-x-2 border-l-4', { 'border-brand bg-brand-light text-ink': type == 'info', 'border-red-700 bg-red-50 text-red-950': type == 'warning', 'border-emerald-700 bg-emerald-50 text-emerald-950': type == 'success' }) }}">
|
||||
{{ icon(type == 'success' ? 'check' : 'alert', 'w-5 h-5 shrink-0') }}
|
||||
<div class="leading-relaxed text-base">
|
||||
{% block message %}
|
||||
{{ message | nl2br }}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{#
|
||||
A notice in the style of the apps template's Alert.tsx (ep-corporate-design): `type` is success,
|
||||
error, warning or info, `message` the text; `embed` it and fill the `message` block for markup.
|
||||
Errors are announced at once (role="alert"), the others politely.
|
||||
#}
|
||||
{% set styles = {
|
||||
success: ['border-emerald-700 bg-emerald-50 text-emerald-950', 'Erledigt'],
|
||||
error: ['border-red-700 bg-red-50 text-red-950', 'Fehler'],
|
||||
warning: ['border-amber-600 bg-amber-50 text-amber-950', 'Achtung'],
|
||||
info: ['border-brand bg-brand-light text-ink', 'Hinweis'],
|
||||
} %}
|
||||
{% set style = styles[type ?? 'info'] %}
|
||||
<div role="{{ type == 'error' ? 'alert' : 'status' }}" class="notice mb-4 {{ style[0] }}">
|
||||
<span class="sr-only">{{ style[1] }}: </span>
|
||||
{%- block message %}{{ message|nl2br }}{% endblock -%}
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
{# The E&P logo with the app name beside it, as in the header of the apps portal (EP/apps) and epbms. #}
|
||||
<span class="flex items-center gap-3">
|
||||
<img class="h-9 w-auto" src="{{ asset('build/images/ep-logo.svg') }}" alt="E&P Reisen & Events" width="157" height="48">
|
||||
<span class="pl-3 border-l border-line text-sm font-bold uppercase tracking-wide text-brand">Team</span>
|
||||
<span class="pl-3 border-l border-line text-sm font-black uppercase tracking-wide text-brand">{{ app_name }}</span>
|
||||
</span>
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if app.session.flashBag.peek('error')|length > 0 %}
|
||||
{% include '_partials/_toast.html.twig' with { level: 'warning', messages: app.flashes('error') } %}
|
||||
{% include '_partials/_toast.html.twig' with { level: 'error', messages: app.flashes('error') } %}
|
||||
{% endif %}
|
||||
{% if app.session.flashBag.peek('success')|length > 0 %}
|
||||
{% include '_partials/_toast.html.twig' with { level: 'success', messages: app.flashes('success') } %}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
{#
|
||||
E&P header as in the apps template: logo, app name behind a thin line, a deep blue bar below.
|
||||
Embed it and fill its blocks:
|
||||
- `header_nav`: the main views as `.header-tab` links, for apps with few views (layout_tabs)
|
||||
- `header_end`: season, user menu, help link and, in the sidebar layout, the menu button
|
||||
`app_name` and `home_path` come from the embedding template; `header_width` lines the header up with
|
||||
a centred content column (layout_sidebar), without it the header runs full width (layout_tabs).
|
||||
#}
|
||||
<header class="shrink-0 print:hidden">
|
||||
<div class="border-b border-line bg-white">
|
||||
<div class="flex items-stretch gap-x-6 text-sm {{ header_width ?? 'px-4' }}">
|
||||
<a href="{{ home_path }}" class="flex shrink-0 items-center gap-3 py-2">
|
||||
<img src="{{ asset('build/images/ep-logo.svg') }}" alt="E&P Reisen & Events" width="157" height="48" class="h-9 w-auto">
|
||||
<span class="pl-3 border-l border-line font-black uppercase tracking-wide text-brand">{{ app_name }}</span>
|
||||
</a>
|
||||
{% block header_nav %}{% endblock %}
|
||||
<div class="ml-auto flex items-stretch gap-x-4">
|
||||
{% block header_end %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-2 bg-brand" aria-hidden="true"></div>
|
||||
</header>
|
||||
@@ -1,86 +0,0 @@
|
||||
{% extends 'knp_menu.html.twig' %}
|
||||
|
||||
{% block list %}
|
||||
{% if item.hasChildren and options.depth is not same as(0) and item.displayChildren %}
|
||||
{% if item.level == 0 %}
|
||||
<div class="min-h-full flex grow flex-col gap-y-5">
|
||||
<nav class="flex flex-1 flex-col">
|
||||
<ul role="list" class="space-y-1">
|
||||
{{ block('children') }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
{% else %}
|
||||
<ul class="{{ html_classes('mt-1 px-2', { 'hidden': not matcher.isCurrent(item) }) }}" {{ stimulus_target('sidebar-menu', 'submenu') }}>
|
||||
{{ block('children') }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block item %}
|
||||
{% if item.displayed and item.extras.heading is defined %}
|
||||
{# the heading of a group of items, see AbstractMenuBuilder::addHeading() #}
|
||||
<li class="px-2 pt-5 pb-1 text-[11px] font-semibold uppercase tracking-wide text-muted">{{ item.label|raw }}</li>
|
||||
{% elseif item.displayed %}
|
||||
<li>
|
||||
{%- if item.hasChildren and item.displayChildren %}
|
||||
<div {{ stimulus_controller('sidebar-menu', {'expanded': matcher.isAncestor(item)}, {'closed': 'hidden', 'iconClosed': 'text-gray-400', 'iconExpanded': 'text-gray-500'}) }}>
|
||||
{%- endif %}
|
||||
{%- if item.uri is not empty %}
|
||||
{{ block('linkElement') }}
|
||||
{%- else %}
|
||||
{{ block('spanElement') }}
|
||||
{%- endif %}
|
||||
{{ block('list') }}
|
||||
{%- if item.hasChildren and item.displayChildren %}
|
||||
</div>
|
||||
{%- endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block linkElement %}
|
||||
{% import _self as knp_menu %}
|
||||
<a href="{{ item.uri }}"
|
||||
class="{{ html_classes('', {
|
||||
'group flex gap-x-3 p-2 text-sm leading-6 font-semibold': item.level == 1,
|
||||
'block py-2 pr-2 pl-9 text-sm leading-6': item.level > 1,
|
||||
'text-ink hover:bg-white/60 hover:text-brand': not (matcher.isCurrent(item) or matcher.isAncestor(item)),
|
||||
'bg-white text-brand': matcher.isCurrent(item) or matcher.isAncestor(item)
|
||||
}) }}"
|
||||
{{ knp_menu.attributes(item.linkAttributes) }}>
|
||||
{{ block('label') }}
|
||||
</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block spanElement %}
|
||||
{% import _self as knp_menu %}
|
||||
{% if item.hasChildren %}
|
||||
<button type="button"
|
||||
{{ stimulus_action('sidebar-menu', 'toggleSubmenu') }}
|
||||
{{ stimulus_target('sidebar-menu', 'button') }}
|
||||
{{ knp_menu.attributes(item.linkAttributes) }}
|
||||
class="{{ html_classes('hover:bg-white/60 hover:text-brand flex items-center w-full text-left p-2 gap-x-3 text-sm leading-6 font-semibold', { 'text-brand': matcher.isAncestor(item), 'text-ink': not matcher.isAncestor(item) }) }}"
|
||||
aria-expanded="false">
|
||||
{{ block('label') }}
|
||||
</button>
|
||||
{% elseif item.extras.divider is defined %}
|
||||
<hr class="my-4 h-px border-line">
|
||||
{% else %}
|
||||
<div class="hover:bg-white/60 group flex gap-x-3 p-2 text-sm leading-5 font-semibold text-ink"
|
||||
role="button">
|
||||
{{ block('label') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block label -%}
|
||||
{% if item.extras.icon is defined -%}
|
||||
{{ icon(item.extras.icon, 'h-5 w-5 shrink-0 ' ~ ((matcher.isCurrent(item) or matcher.isAncestor(item)) ? 'text-brand' : 'text-muted')) -}}
|
||||
<span class="flex-1">{{ item.label|raw }}</span>
|
||||
{%- else -%}
|
||||
{{ item.label|raw }}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<button type="button"
|
||||
class="btn"
|
||||
class="btn-secondary"
|
||||
title="Beleg hinzufügen"
|
||||
hx-get="{{ path('app_teamer_disposition_receipt_upload', { 'uuid': disposition.uuid }) }}"
|
||||
hx-target="body"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{# Marks a season assignment listed among dispositions. #}
|
||||
<span class="inline-block py-1 px-2 text-xs bg-primary text-white">Saison</span>
|
||||
<span class="inline-block py-1 px-2 text-xs bg-brand text-white">Saison</span>
|
||||
@@ -0,0 +1,63 @@
|
||||
{#
|
||||
KnpMenu template for the sidebar (layout_sidebar.html.twig). Items of the first level:
|
||||
- a link (`.sidebar-link`); with children, they show below it while it or a child is current
|
||||
- without a URI but with children: a group that opens in place (<details>), open while a child is current
|
||||
- extras `heading` (a group heading) or `divider` (a line)
|
||||
- extras `icon`: rendered with _partials/_icon.html.twig (`icon`, `class`), as myep's icon() does
|
||||
#}
|
||||
{% extends 'knp_menu.html.twig' %}
|
||||
|
||||
{% block list %}
|
||||
{% if item.hasChildren and options.depth is not same as(0) and item.displayChildren %}
|
||||
{% if item.level == 0 %}
|
||||
<ul class="space-y-1">
|
||||
{{ block('children') }}
|
||||
</ul>
|
||||
{% elseif item.uri is empty or matcher.isCurrent(item) or matcher.isAncestor(item) %}
|
||||
<ul class="mt-1 space-y-1">
|
||||
{{ block('children') }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block item %}
|
||||
{% if item.displayed and item.extras.heading is defined %}
|
||||
<li class="sidebar-heading">{{ item.label }}</li>
|
||||
{% elseif item.displayed and item.extras.divider is defined %}
|
||||
<li><hr class="my-4 border-line"></li>
|
||||
{% elseif item.displayed %}
|
||||
<li>
|
||||
{% if item.uri is empty and item.hasChildren and item.displayChildren %}
|
||||
<details class="sidebar-group" {{ matcher.isAncestor(item) ? 'open' }}>
|
||||
<summary class="sidebar-link {{ matcher.isAncestor(item) ? 'text-brand' }}">{{ block('label') }}</summary>
|
||||
{{ block('list') }}
|
||||
</details>
|
||||
{% else %}
|
||||
{{ block('linkElement') }}
|
||||
{{ block('list') }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block linkElement %}
|
||||
{% import _self as knp_menu %}
|
||||
{% set is_current = matcher.isCurrent(item) %}
|
||||
<a href="{{ item.uri }}"
|
||||
class="{{ item.level == 1 ? 'sidebar-link' : 'sidebar-sublink' }} {{ not is_current and item.level == 1 and matcher.isAncestor(item) ? 'sidebar-link--ancestor' }}"
|
||||
{% if is_current %}aria-current="page"{% endif %}
|
||||
{{ knp_menu.attributes(item.linkAttributes) }}>{{ block('label') }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block label -%}
|
||||
{% if item.extras.icon is defined -%}
|
||||
{{ include('_partials/_icon.html.twig', {
|
||||
icon: item.extras.icon,
|
||||
class: 'size-5 shrink-0 ' ~ (matcher.isCurrent(item) or matcher.isAncestor(item) ? 'text-brand' : 'text-muted'),
|
||||
}) }}
|
||||
<span class="flex-1">{{ item.label }}</span>
|
||||
{%- else -%}
|
||||
{{ item.label }}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
@@ -13,8 +13,8 @@
|
||||
{# by route name: the items carry the return url, which the matcher would compare as well #}
|
||||
{% set current = child.extras.routes|default([])|filter(r => r.route is defined and r.route == app.request.attributes.get('_route'))|length > 0 %}
|
||||
<a href="{{ child.uri }}"
|
||||
class="{{ html_classes('tab', { 'tab--current': current }) }}"
|
||||
{% if current %}aria-current="page"{% endif %}>{{ child.label|raw }}</a>
|
||||
class="tab"
|
||||
{% if current %}aria-current="page"{% endif %}>{{ child.label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endblock %}
|
||||
@@ -23,13 +23,13 @@
|
||||
role="menu"
|
||||
{{ stimulus_target('toggle', 'toggle') }}>
|
||||
{% if app.user.teamer %}
|
||||
<a href="{{ path('app_teamer_profile_index') }}" class="user-menu-item" role="menuitem">{{ icon('user', 'w-5 h-5 text-muted') }}Mein Profil</a>
|
||||
<a href="{{ path('app_teamer_profile_index') }}" class="menu-item flex items-center gap-x-3" role="menuitem">{{ icon('user', 'w-5 h-5 text-muted') }}Mein Profil</a>
|
||||
{% elseif is_granted('ROLE_ADMINISTRATIVE') %}
|
||||
<a href="{{ path('app_administrative_profile_index') }}" class="user-menu-item" role="menuitem">{{ icon('user', 'w-5 h-5 text-muted') }}Mein Profil</a>
|
||||
<a href="{{ path('app_administrative_profile_index') }}" class="menu-item flex items-center gap-x-3" role="menuitem">{{ icon('user', 'w-5 h-5 text-muted') }}Mein Profil</a>
|
||||
{% endif %}
|
||||
{% for item in user_menu.children %}
|
||||
{% if loop.last %}<hr class="my-1 border-line">{% endif %}
|
||||
<a href="{{ item.uri }}" class="user-menu-item" role="menuitem">{{ icon(item.extras.icon, 'w-5 h-5 text-muted') }}{{ item.label }}</a>
|
||||
<a href="{{ item.uri }}" class="menu-item flex items-center gap-x-3" role="menuitem">{{ icon(item.extras.icon, 'w-5 h-5 text-muted') }}{{ item.label }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</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_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) }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
@@ -16,6 +16,8 @@
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body class="bg-page text-ink font-sans antialiased text-sm">
|
||||
<a href="#content"
|
||||
class="sr-only focus:not-sr-only focus:absolute focus:left-2 focus:top-2 focus:z-50 focus:bg-white focus:px-3 focus:py-2 focus:font-bold focus:text-brand focus:shadow">Zum Inhalt springen</a>
|
||||
{% include '_partials/_maintenance_banner.html.twig' %}
|
||||
{% block body %}{% endblock %}
|
||||
{% include '_partials/_flashes.html.twig' %}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<p class="mb-8">
|
||||
Wir haben uns ein paar Notizen dazu gemacht und werden das Problem so schnell wie möglich beseitigen.
|
||||
</p>
|
||||
<a class="btn" href="{{ path('app_security_login') }}">
|
||||
<a class="btn-secondary" href="{{ path('app_security_login') }}">
|
||||
nochmal von vorne
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -7,7 +7,7 @@
|
||||
<p class="mb-8">
|
||||
Die von dir aufgerufene Seite können wir leider nicht (mehr) finden.
|
||||
</p>
|
||||
<a class="btn" href="{{ path('app_security_login') }}">
|
||||
<a class="btn-secondary" href="{{ path('app_security_login') }}">
|
||||
nochmal von vorne
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -27,8 +27,8 @@
|
||||
{{ form_row(filterForm.includePast) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn-primary' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn-secondary' } }) }}
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
{{ form_row(filterForm.dateTo) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn-primary' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn-secondary' } }) }}
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn-primary' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn-secondary' } }) }}
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
{{ form_row(filterForm.dateTo) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn-primary' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn-secondary' } }) }}
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
{{ form_row(filterForm.hotels) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn-primary' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn-secondary' } }) }}
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
Loaded 100 of 162 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user