From bc4149d7c9fe7a698cf07895b504ab8f2b26f649 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 23 Jan 2026 10:29:02 -1000 Subject: UI improvements: styling and layout fixes - Prefill first store in shopping quick-add - Tone down overdue/priority styling (red -> amber) - Remove quick-add panel from tasks tab (use modal instead) - Increase card opacity for better readability - Swap task/event formatting (tasks get cards, events get border-l-4) - Add grid layout for tasks (2-3 columns on wider screens) Co-Authored-By: Claude Opus 4.5 --- web/templates/index.html | 7 ++- web/templates/partials/planning-tab.html | 38 ++++++++------ web/templates/partials/tasks-tab.html | 90 ++++---------------------------- 3 files changed, 37 insertions(+), 98 deletions(-) (limited to 'web/templates') diff --git a/web/templates/index.html b/web/templates/index.html index 32c0857..050f0bf 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -144,7 +144,7 @@ id="shopping-list-select" class="w-full bg-black/40 border border-white/20 rounded-lg px-3 py-2 text-sm text-white mb-3" required> - + - - - {{if .Atoms}} -
+
{{range .Atoms}} -
+
{{.SourceIcon}}
-

{{if .DueDate}} - {{.DueDate.Format "Jan 2"}}{{if .HasSetTime}}, {{.DueDate.Format "3:04pm"}}{{end}} + {{.DueDate.Format "Jan 2"}}{{if .HasSetTime}}, {{.DueDate.Format "3:04pm"}}{{end}} {{end}} {{if gt .Priority 2}} - P{{.Priority}} + P{{.Priority}} {{end}} {{if .Description}} +details @@ -140,14 +68,14 @@ +{{len .FutureAtoms}} later -
+
{{range .FutureAtoms}} -
+
{{.SourceIcon}} -- cgit v1.2.3