feat: streamline label colors

This commit is contained in:
Björn Fromme
2025-03-27 11:44:14 +01:00
parent 80e57d148f
commit 13e49f7f23
@@ -5,7 +5,7 @@
{% macro cell(item, colspan) %}
<td class="{{ html_classes('border border-gray-700', {
'bg-gray-100': item.type == 'assignment' and item.status in ['unstaffed'],
'bg-blue-300': item.type == 'assignment' and item.status in ['staffing', 'partly_staffed'],
'bg-blue-500 text-gray-50': item.type == 'assignment' and item.status in ['staffing', 'partly_staffed'],
'bg-blue-500 text-gray-50': item.type == 'disposition' and item.status in ['new', 'checking_contract'],
'bg-green-500 text-gray-50': item.type == 'disposition' and item.status in ['confirmed', 'ended', 'checking_invoice', 'completed'],
}) }}" colspan="{{ colspan }}">
@@ -116,9 +116,6 @@
<div class="flex items-center space-x-2 bg-blue-300 px-4 py-1">
<span>in Bewerbung</span>
</div>
<div class="flex items-center space-x-2 bg-blue-500 text-gray-50 px-4 py-1">
<span>in Bearbeitung</span>
</div>
<div class="flex items-center space-x-2 bg-green-500 text-gray-50 px-4 py-1">
<span>besetzt</span>
</div>