implemented task priorities
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
<span class="error">{error}</span>
|
||||
{/if}
|
||||
{#if task}
|
||||
<div class="task grid2">
|
||||
<div class={`task grid2 prio_${task.priority} p${Math.floor(task.priority/10)*10} p${task.priority % 10}`} >
|
||||
{#if project}
|
||||
<div>{t('project')}</div>
|
||||
<div class="project">
|
||||
|
||||
Reference in New Issue
Block a user