feat: improve admin dashboard layout
This commit is contained in:
@@ -158,10 +158,15 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{% set overdueFeedbacksCount = overdueFeedbacks|length %}
|
||||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||||
<h2 class="font-bold text-lg pb-2">
|
<h2 class="flex justify-between pb-2">
|
||||||
überfällige Feedbacks
|
<span class="font-bold text-lg">Überfällige Feedbacks</span>
|
||||||
|
{% if overdueFeedbacksCount > 0 %}
|
||||||
|
<span>{{ overdueFeedbacksCount }} überfälllig</span>
|
||||||
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="max-h-64 overflow-y-scroll">
|
||||||
<ul class="divide-y divide-gray-200">
|
<ul class="divide-y divide-gray-200">
|
||||||
{% for disposition in overdueFeedbacks %}
|
{% for disposition in overdueFeedbacks %}
|
||||||
{% set assignment = disposition.assignment %}
|
{% set assignment = disposition.assignment %}
|
||||||
@@ -187,10 +192,16 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
{% set overdueContractsCount = overdueContracts|length %}
|
||||||
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||||
<h2 class="font-bold text-lg pb-2">
|
<h2 class="flex justify-between pb-2">
|
||||||
Überfällige Honorarverträge
|
<span class="font-bold text-lg">Überfällige Honorarverträge</span>
|
||||||
|
{% if overdueContractsCount > 0 %}
|
||||||
|
<span>{{ overdueContractsCount }} überfälllig</span>
|
||||||
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="max-h-64 overflow-y-scroll">
|
||||||
<ul class="divide-y divide-gray-200">
|
<ul class="divide-y divide-gray-200">
|
||||||
{% for disposition in overdueContracts %}
|
{% for disposition in overdueContracts %}
|
||||||
{% set assignment = disposition.assignment %}
|
{% set assignment = disposition.assignment %}
|
||||||
@@ -213,4 +224,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user