From 55bcec90c14db6f2956ed51cf4df1503c0767f81 Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Mon, 25 May 2026 00:46:10 +0000 Subject: =?UTF-8?q?Initial=20commit=20=E2=80=94=20menu.jots.org=20Flask/SQ?= =?UTF-8?q?Lite=20meal=20planner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Full-featured weekly menu planner with: - Recipe library with ratings, comments, cuisine/nationality, added-by attribution - AI recipe assistant (Claude) with URL fetching and file upload - Weekly meal plan grid with shopping list generation - Sort by name, prep/cook time, or rating - Print and copy-link support - Deployed on LXC container (192.168.10.51) behind Apache reverse proxy Co-Authored-By: Claude Sonnet 4.6 --- app/templates/index.html | 116 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 app/templates/index.html (limited to 'app/templates/index.html') diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..c33e348 --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,116 @@ +{% extends "base.html" %} +{% block title %}Dashboard — Menu Planner{% endblock %} + +{% block content %} +
+
+

This Week's Plan

+

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

+
+ +
+ + +
+
+
+
{{ plan | length }}
+
Meals Planned
+
+
+
+
+
{{ stat_map.get('favorited', 0) }}
+
Favorited Recipes
+
+
+
+
+
{{ stat_map.get('candidate', 0) + stat_map.get('favorited', 0) }}
+
Active Recipes
+
+
+
+
+
{{ 21 - (plan | length) }}
+
Open Slots
+
+
+
+ + +
+
+
+ + + + + {% for d in dates %} + + {% endfor %} + + + + {% for mt in meal_types %} + + + {% for d in dates %} + {% set key = d.isoformat() + '_' + mt %} + + {% endfor %} + + {% endfor %} + +
+
{{ d.strftime('%a') }}
+
{{ d.strftime('%b %d') }}
+
{{ mt }} + {% if key in plan %} + {% set entry = plan[key] %} +
+ {{ cuisine_emoji.get(entry.cuisine, '') }} + {{ entry.recipe_name }} +
+ {% else %} + + {% endif %} +
+
+
+
+ + + +{% endblock %} + +{% block scripts %} + +{% endblock %} -- cgit v1.2.3