style: show the dashboard boxes as cards
This commit is contained in:
1 parent
7095456d36
commit
fa0ffcf636
4 files changed
+83
-83
No files matched your search
@@ -3,14 +3,14 @@
|
||||
{% block content %}
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Bewerbungen</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Bewerbungen</span>
|
||||
{% if newApplicationsCount > 0 or pendingApplicationsCount > 0 %}
|
||||
<span>{{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung</span>
|
||||
<span class="text-muted">{{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for application in applications %}
|
||||
{% set assignment = application.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
@@ -33,11 +33,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Neue Einteilungen
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in newDispositions %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
@@ -54,15 +54,15 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Honorarverträge</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Honorarverträge</span>
|
||||
{% if newContractsCount > 0 or pendingContractsCount > 0 %}
|
||||
<span>{{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung</span>
|
||||
<span class="text-muted">{{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in newContracts %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -88,15 +88,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Honorarnoten</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Honorarnoten</span>
|
||||
{% if newInvoicesCount > 0 or pendingInvoicesCount > 0 %}
|
||||
<span>{{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung</span>
|
||||
<span class="text-muted">{{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in newInvoices %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -121,15 +121,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Führerscheine</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Führerscheine</span>
|
||||
{% if newDriverLicensesCount > 0 %}
|
||||
<span>{{ newDriverLicensesCount }} neu</span>
|
||||
<span class="text-muted">{{ newDriverLicensesCount }} neu</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in newDriverLicenses %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
<button type="button"
|
||||
@@ -152,11 +152,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Neue Einsätze
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for assignment in assignments %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
@@ -177,11 +177,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Neue Verfügbarkeiten
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for availability in availabilities %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
<a href="{{ path('app_admin_teamer_availability', { 'uuid': availability.owner.uuid, 'r': return_url() }) }}"
|
||||
@@ -200,14 +200,14 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Feedbacks</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Feedbacks</span>
|
||||
{% if pendingFeedbacksCount > 0 %}
|
||||
<span>{{ pendingFeedbacksCount }} freizugeben</span>
|
||||
<span class="text-muted">{{ pendingFeedbacksCount }} freizugeben</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for feedback in feedbacks %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
<button type="button"
|
||||
@@ -235,15 +235,15 @@
|
||||
</div>
|
||||
|
||||
{% set overdueFeedbacksCount = overdueFeedbacks|length %}
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Überfällige Feedbacks</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Überfällige Feedbacks</span>
|
||||
{% if overdueFeedbacksCount > 0 %}
|
||||
<span>{{ overdueFeedbacksCount }} überfällig</span>
|
||||
<span class="text-muted">{{ overdueFeedbacksCount }} überfällig</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in overdueFeedbacks %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
@@ -271,15 +271,15 @@
|
||||
</div>
|
||||
|
||||
{% set overdueContractsCount = overdueContracts|length %}
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Überfällige Honorarverträge</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Überfällige Honorarverträge</span>
|
||||
{% if overdueContractsCount > 0 %}
|
||||
<span>{{ overdueContractsCount }} überfällig</span>
|
||||
<span class="text-muted">{{ overdueContractsCount }} überfällig</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in overdueContracts %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="grid gap-8">
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Neue Einteilungen
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in newDispositions %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
@@ -41,11 +41,11 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Ausstehende Feedbacks
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for row in pendingTravels %}
|
||||
{% set destination = row[0] %}
|
||||
{% set questionnaireOpen = destination.dateTo >= goLive and row.questionnaireStatus != 'submitted' %}
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Honorarverträge</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Honorarverträge</span>
|
||||
{% if newContractsCount > 0 or pendingContractsCount > 0 %}
|
||||
<span>{{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung</span>
|
||||
<span class="text-muted">{{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in newContracts %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -35,15 +35,15 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Neue Honorarnoten</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Neue Honorarnoten</span>
|
||||
{% if newInvoicesCount > 0 or pendingInvoicesCount > 0 %}
|
||||
<span>{{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung</span>
|
||||
<span class="text-muted">{{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in newInvoices %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -67,11 +67,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Neue Einteilungen
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in dispositions %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
@@ -89,15 +89,15 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% set overdueFeedbacksCount = overdueFeedbacks|length %}
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="flex justify-between pb-2">
|
||||
<span class="font-bold text-lg">Überfällige Feedbacks</span>
|
||||
<div class="card p-4">
|
||||
<h2 class="flex justify-between items-baseline gap-x-4 pb-3">
|
||||
<span class="section-title">Überfällige Feedbacks</span>
|
||||
{% if overdueFeedbacksCount > 0 %}
|
||||
<span>{{ overdueFeedbacksCount }} überfällig</span>
|
||||
<span class="text-muted">{{ overdueFeedbacksCount }} überfällig</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for disposition in overdueFeedbacks %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0 overflow-x-hidden">
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
{% endembed %}
|
||||
{% endif %}
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Meine Bewerbungen
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for application in pendingApplications %}
|
||||
{% set assignment = application.assignment %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -62,11 +62,11 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Meine Dokumente
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for document in dispositionDocuments %}
|
||||
{% set disposition = document.disposition %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
@@ -98,11 +98,11 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Mein Feedback
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for feedback in recentFeedback %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
<button type="button"
|
||||
@@ -130,11 +130,11 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Meine Einsätze
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for row in upcomingPlacements %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
{% if row.seasonAssignment is not null %}
|
||||
@@ -179,11 +179,11 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||
<h2 class="font-bold text-lg pb-2">
|
||||
<div class="card p-4">
|
||||
<h2 class="section-title pb-3">
|
||||
Mögliche Einsätze
|
||||
</h2>
|
||||
<ul class="divide-y divide-gray-200">
|
||||
<ul class="divide-y divide-line">
|
||||
{% for assignment in matchingAssignments %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
<a href="{{ path('app_teamer_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}">
|
||||
|
||||
Reference in new issue
Block a user