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/shopping_list.html | 167 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 app/templates/shopping_list.html (limited to 'app/templates/shopping_list.html') diff --git a/app/templates/shopping_list.html b/app/templates/shopping_list.html new file mode 100644 index 0000000..e6cfaaf --- /dev/null +++ b/app/templates/shopping_list.html @@ -0,0 +1,167 @@ +{% extends "base.html" %} +{% block title %}Shopping List — Menu Planner{% endblock %} + +{% block content %} +
+
+

Shopping List

+

+ Week of {{ week_start.strftime('%B %d, %Y') }} + {% if total %} ·  {{ checked }}/{{ total }} checked{% endif %} +

+
+
+ + This Week + + + {% if current_user.is_authenticated %} + + {% if total %} + + {% endif %} + {% endif %}{# end is_authenticated #} +
+
+ +{% if categories %} + + +{% if total %} +
+
+ {{ checked }} of {{ total }} items collected + {{ (checked / total * 100)|int }}% +
+
+
+
+
+{% endif %} + +
+ {% for cat_name, items in categories %} +
+
+
+ {% if cat_name == 'Meat & Poultry' %} + {% elif cat_name == 'Seafood' %} + {% elif cat_name == 'Dairy & Eggs' %} + {% elif cat_name == 'Produce' %} + {% elif cat_name == 'Pantry' %} + {% elif cat_name == 'Spices & Herbs' %} + {% else %}{% endif %} + {{ cat_name }} + {{ items|length }} +
+
    + {% for item in items %} +
  • +
    + + + {% if item.recipe_sources %} + + + + {% endif %} +
    + {% if item.recipe_sources %} +
    {{ item.recipe_sources }}
    + {% endif %} +
  • + {% endfor %} +
+
+
+ {% endfor %} +
+ +{% else %} +
+ +

No shopping list yet for this week.

+

Add meals to your meal plan first, then click Regenerate.

+ +
+{% endif %} + + +
+ +
+{% endblock %} + +{% block scripts %} + +{% endblock %} -- cgit v1.2.3