add client grouping and expandable project tasks to project task timetracker dropdown, fixes ST-253

This commit is contained in:
Gregor Vostrak
2024-09-10 18:46:35 +02:00
committed by Constantin Graf
parent 91b56ae92f
commit 85315fc62f
2 changed files with 363 additions and 107 deletions

View File

@@ -8,11 +8,14 @@ defineProps<{
<template>
<div
class="flex items-center space-x-3 w-full px-3 py-2.5 text-start text-sm font-medium leading-5 text-white hover:bg-card-background-active focus:outline-none focus:bg-card-background-active transition duration-150 ease-in-out">
<div
:style="{ backgroundColor: color }"
class="w-3 h-3 rounded-full"></div>
<span>{{ name }}</span>
class="flex justify-between items-center w-full text-start text-sm font-medium leading-5 text-white hover:bg-card-background-active focus:outline-none focus:bg-card-background-active transition duration-150 ease-in-out">
<div class="flex space-x-3 items-center px-3 py-1.5">
<div
:style="{ backgroundColor: color }"
class="w-3 h-3 rounded-full"></div>
<span>{{ name }}</span>
</div>
<slot name="actions"></slot>
</div>
</template>