implemented task priorities

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-09-22 12:11:45 +02:00
parent 48deb1a91c
commit 97c395fb38
5 changed files with 87 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
let { onclick, ondragstart, task } = $props();
</script>
<div draggable="true" class="box" {onclick} {ondragstart} >
<div draggable="true" class={`box prio_${task.priority} p${Math.floor(task.priority/10)*10} p${task.priority % 10}`} {onclick} {ondragstart} >
<span class="title">{task.name}</span>
{#if task.estimated_time}
<span class="estimate">