From ec3fd68695a051434ccabc9d20e263190bccafef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 12 Nov 2026 11:13:30 +0100 Subject: [PATCH] style: restyle the teamer cards and the login pages --- templates/maintenance/index.html.twig | 7 +++-- templates/security/login.html.twig | 26 +++++++------------ templates/security/password_reset.html.twig | 9 +++---- templates/teamer/application/create.html.twig | 2 +- templates/teamer/application/index.html.twig | 4 +-- templates/teamer/assignment/index.html.twig | 6 ++--- templates/teamer/bookmark/index.html.twig | 6 ++--- templates/teamer/disposition/_card.html.twig | 4 +-- .../teamer/disposition/_season_card.html.twig | 4 +-- 9 files changed, 30 insertions(+), 38 deletions(-) diff --git a/templates/maintenance/index.html.twig b/templates/maintenance/index.html.twig index 91750ac..9d2ac11 100644 --- a/templates/maintenance/index.html.twig +++ b/templates/maintenance/index.html.twig @@ -2,10 +2,9 @@ {% block body %}
-
-

- My E&P Team - E&P Team +
+

+ {% include '_partials/_brand.html.twig' %}

...ist vorübergehend außer Betrieb diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 69e3306..27ca10d 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -2,41 +2,35 @@ {% block body %}
-
-

- E&P Team - E&P Team +
+

+ {% include '_partials/_brand.html.twig' %}

{% if error %} -
- - - - {{ error.messageKey|trans(error.messageData, 'security') }} -
+ {% include '_partials/_alert.html.twig' with { type: 'warning', message: error.messageKey|trans(error.messageData, 'security') } %} {% endif %}
-
-
@@ -47,11 +41,11 @@
{% if feature('myep_login') %} - + Login mit MyE&P {% endif %} - + Passwort vergessen?
diff --git a/templates/security/password_reset.html.twig b/templates/security/password_reset.html.twig index b1641de..c96de24 100644 --- a/templates/security/password_reset.html.twig +++ b/templates/security/password_reset.html.twig @@ -2,10 +2,9 @@ {% block body %}
-
-

- E&P Team - E&P Team +
+

+ {% include '_partials/_brand.html.twig' %}

{{ form_start(form) }}
@@ -21,7 +20,7 @@ {{ form_rest(form) }} {{ form_end(form) }} diff --git a/templates/teamer/application/create.html.twig b/templates/teamer/application/create.html.twig index 7803636..c7396b3 100644 --- a/templates/teamer/application/create.html.twig +++ b/templates/teamer/application/create.html.twig @@ -7,7 +7,7 @@ Bewerbung

-
+
{% include '_partials/_assignment_info.html.twig' %}
diff --git a/templates/teamer/application/index.html.twig b/templates/teamer/application/index.html.twig index e930567..169982b 100644 --- a/templates/teamer/application/index.html.twig +++ b/templates/teamer/application/index.html.twig @@ -9,11 +9,11 @@
{% for application in pagination %} {% set assignment = application.assignment %} -
+
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }} - {{ assignment.destination.product }} + {{ assignment.destination.product }}
{{ icon('calendar', 'w-5 h-5 shrink-0') }} diff --git a/templates/teamer/assignment/index.html.twig b/templates/teamer/assignment/index.html.twig index b468867..311651d 100644 --- a/templates/teamer/assignment/index.html.twig +++ b/templates/teamer/assignment/index.html.twig @@ -30,11 +30,11 @@
{% for assignment in pagination %} -
+
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }} - {{ assignment.destination.product }} + {{ assignment.destination.product }}
{% else %} diff --git a/templates/teamer/bookmark/index.html.twig b/templates/teamer/bookmark/index.html.twig index 40cdf67..96048fe 100644 --- a/templates/teamer/bookmark/index.html.twig +++ b/templates/teamer/bookmark/index.html.twig @@ -8,11 +8,11 @@

{% for assignment in pagination %} -
+
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }} - {{ assignment.destination.product }} + {{ assignment.destination.product }}
{% else %} diff --git a/templates/teamer/disposition/_card.html.twig b/templates/teamer/disposition/_card.html.twig index 1f39fc6..a7aae35 100644 --- a/templates/teamer/disposition/_card.html.twig +++ b/templates/teamer/disposition/_card.html.twig @@ -1,9 +1,9 @@ {% set assignment = disposition.assignment %} -
+
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }} - {{ assignment.destination.product }} + {{ assignment.destination.product }}
{{ icon('calendar', 'w-5 h-5 shrink-0') }} diff --git a/templates/teamer/disposition/_season_card.html.twig b/templates/teamer/disposition/_season_card.html.twig index 435ab2c..b8e97bd 100644 --- a/templates/teamer/disposition/_season_card.html.twig +++ b/templates/teamer/disposition/_season_card.html.twig @@ -1,9 +1,9 @@ {# A season assignment among the upcoming dispositions. Linked only when it is the one the season page shows - that page resolves a single assignment and 404s for any other. #} -
+
- {{ seasonAssignment|season_assignment_label }} + {{ seasonAssignment|season_assignment_label }} {% include '_partials/_season_badge.html.twig' %}