style: restyle the teamer cards and the login pages

This commit is contained in:
fromme committed 2026-11-12 11:13:30 +01:00
1 parent fa0ffcf636
commit ec3fd68695
9 files changed
+30 -38

No files matched your search

@@ -7,7 +7,7 @@
Bewerbung
</h1>
<div class="grid lg:grid-cols-2 gap-8 items-start">
<div class="bg-gray-100 rounded-md p-4">
<div class="card p-4">
{% include '_partials/_assignment_info.html.twig' %}
</div>
<div>
+2 -2
View File
@@ -9,11 +9,11 @@
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4 pb-4">
{% for application in pagination %}
{% set assignment = application.assignment %}
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
<div class="card relative flex flex-col justify-between p-4">
<div class="flex flex-col space-y-2 pb-2">
<div class="flex items-start space-x-2">
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
<span class="flex-1 font-bold">{{ assignment.destination.product }}</span>
<span class="flex-1 font-bold text-brand">{{ assignment.destination.product }}</span>
</div>
<div class="flex items-start space-x-2">
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
+3 -3
View File
@@ -30,11 +30,11 @@
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4 py-4">
{% for assignment in pagination %}
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
<div class="card relative flex flex-col justify-between p-4">
<div class="flex flex-col space-y-2 pb-2">
<div class="flex items-start space-x-2">
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
<span class="flex-1 font-bold">{{ assignment.destination.product }}</span>
<span class="flex-1 font-bold text-brand">{{ assignment.destination.product }}</span>
</div>
<div class="flex items-start space-x-2">
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
@@ -91,7 +91,7 @@
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
class="absolute top-0 right-0 mt-2 mr-2"
title="{{ isBookmarked ? 'Von der Merkliste löschen' : 'Auf die Merkliste setzen' }}">
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-200': not isBookmarked } )) }}
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-300': not isBookmarked } )) }}
</a>
</div>
{% else %}
+3 -3
View File
@@ -8,11 +8,11 @@
</h1>
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4 pb-4">
{% for assignment in pagination %}
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
<div class="card relative flex flex-col justify-between p-4">
<div class="flex flex-col space-y-2 pb-2">
<div class="flex items-start space-x-2">
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
<span class="flex-1 font-bold">{{ assignment.destination.product }}</span>
<span class="flex-1 font-bold text-brand">{{ assignment.destination.product }}</span>
</div>
<div class="flex items-start space-x-2">
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
@@ -62,7 +62,7 @@
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
class="absolute top-0 right-0 mt-2 mr-2"
title="{{ isBookmarked ? 'Von der Merkliste löschen' : 'Auf die Merkliste setzen' }}">
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-200': not isBookmarked } )) }}
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-300': not isBookmarked } )) }}
</a>
</div>
{% else %}
+2 -2
View File
@@ -1,9 +1,9 @@
{% set assignment = disposition.assignment %}
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
<div class="card relative flex flex-col justify-between p-4">
<div class="flex flex-col space-y-2 pb-2">
<div class="flex items-start space-x-2">
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
<span class="flex-1 font-bold">{{ assignment.destination.product }}</span>
<span class="flex-1 font-bold text-brand">{{ assignment.destination.product }}</span>
</div>
<div class="flex items-start space-x-2">
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
@@ -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. #}
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
<div class="card relative flex flex-col justify-between p-4">
<div class="flex flex-col space-y-2 pb-2">
<div class="flex items-start space-x-2">
<span class="flex-1 font-bold">{{ seasonAssignment|season_assignment_label }}</span>
<span class="flex-1 font-bold text-brand">{{ seasonAssignment|season_assignment_label }}</span>
{% include '_partials/_season_badge.html.twig' %}
</div>
<div class="flex items-start space-x-2">