diff --git a/CHANGELOG.md b/CHANGELOG.md index 76b911a..88d4c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## Mon 29, 2024 03:05 +- [x] Highlighting due column of a task if due + ## Mon 29, 2024 - [x] [BUG] Mnemonic tag in the last row in task selection mode getting cut diff --git a/build.rs b/build.rs index c588acb..69641e2 100644 --- a/build.rs +++ b/build.rs @@ -26,8 +26,8 @@ fn main() { } // adding templates if !Command::new("cp") - .args(["-r", "frontend/templates", "dist/templates"]) + .args(["-r", "frontend/templates", "dist/"]) .status().unwrap().success() { - panic!("Failed to copy fonts") + panic!("Failed to copy template files") } } diff --git a/frontend/css/style.css b/frontend/css/style.css index 309c8ce..d1b2a83 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -31,8 +31,6 @@ body { .table-large tr { @apply font-medium even:bg-neutral-600 - - ; } @@ -40,6 +38,10 @@ body { @apply bg-green-700 text-green-200; } +.table-large td .is_due { + @apply text-amber-50 font-bold bg-yellow-900 rounded-sm px-1; +} + .table-small { @apply text-xs p-2; } @@ -256,4 +258,4 @@ body { #toast { -} \ No newline at end of file +} diff --git a/frontend/templates/tasks.html b/frontend/templates/tasks.html index 74e9199..a8543d7 100644 --- a/frontend/templates/tasks.html +++ b/frontend/templates/tasks.html @@ -188,13 +188,13 @@ {% for task in tasks %} {% set status_color = on_all %} {% if task.status == 'pending' %} - {% set status_color = on_pending %} + {% set status_color = on_pending %} {% elif task.status == 'complete' %} - {% set status_color = on_complete %} + {% set status_color = on_complete %} {% elif task.status == 'waiting' %} - {% set status_color = on_waiting %} + {% set status_color = on_waiting %} {% endif %} -