From ab9b1465ec45570938dc7a3eaf3e4c44dc9be0d6 Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Mon, 25 May 2026 01:14:43 +0000 Subject: Add week navigation and calendar picker to dashboard Dashboard now accepts ?week= param like meal-plan and shopping-list. Header shows prev/next arrows, an picker, and a "Today" button when browsing a past/future week. Edit Plan and Shopping List links carry the current week so they open in sync. Co-Authored-By: Claude Sonnet 4.6 --- app/templates/index.html | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'app/templates/index.html') diff --git a/app/templates/index.html b/app/templates/index.html index 55b5ef0..c690525 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -7,9 +7,16 @@

This Week's Plan

{{ week_start.strftime('%B %d') }} – {{ (dates[-1]).strftime('%B %d, %Y') }}

-
- Edit Plan - Shopping List +
+ + + {% if not is_current_week %} + Today + {% endif %} + + Edit Plan + Shopping List
@@ -114,5 +121,16 @@ {% block scripts %} {% endblock %} -- cgit v1.2.3