From 78e39abb90a9f4409a3ac037ec2d8b8d5c3409a5 Mon Sep 17 00:00:00 2001 From: sstent Date: Tue, 30 Sep 2025 10:51:03 -0700 Subject: [PATCH] updated the tracker to have more features --- templates/modals/add_meal.html | 31 +++++ templates/modals/add_single_food.html | 42 ++++++ templates/modals/apply_template.html | 33 +++++ templates/modals/edit_tracked_meal.html | 27 ++++ templates/modals/save_template.html | 25 ++++ templates/tracker.html | 167 +----------------------- 6 files changed, 163 insertions(+), 162 deletions(-) create mode 100644 templates/modals/add_meal.html create mode 100644 templates/modals/add_single_food.html create mode 100644 templates/modals/apply_template.html create mode 100644 templates/modals/edit_tracked_meal.html create mode 100644 templates/modals/save_template.html diff --git a/templates/modals/add_meal.html b/templates/modals/add_meal.html new file mode 100644 index 0000000..a7e2ec3 --- /dev/null +++ b/templates/modals/add_meal.html @@ -0,0 +1,31 @@ + + \ No newline at end of file diff --git a/templates/modals/add_single_food.html b/templates/modals/add_single_food.html new file mode 100644 index 0000000..9aca4b2 --- /dev/null +++ b/templates/modals/add_single_food.html @@ -0,0 +1,42 @@ + + \ No newline at end of file diff --git a/templates/modals/apply_template.html b/templates/modals/apply_template.html new file mode 100644 index 0000000..e8344ac --- /dev/null +++ b/templates/modals/apply_template.html @@ -0,0 +1,33 @@ + + \ No newline at end of file diff --git a/templates/modals/edit_tracked_meal.html b/templates/modals/edit_tracked_meal.html new file mode 100644 index 0000000..5656ac5 --- /dev/null +++ b/templates/modals/edit_tracked_meal.html @@ -0,0 +1,27 @@ + + \ No newline at end of file diff --git a/templates/modals/save_template.html b/templates/modals/save_template.html new file mode 100644 index 0000000..e4babe2 --- /dev/null +++ b/templates/modals/save_template.html @@ -0,0 +1,25 @@ + + \ No newline at end of file diff --git a/templates/tracker.html b/templates/tracker.html index 6133a01..2f02d12 100644 --- a/templates/tracker.html +++ b/templates/tracker.html @@ -182,168 +182,11 @@ - - - - - - - - - - - - - - +{% include 'modals/add_meal.html' %} +{% include 'modals/save_template.html' %} +{% include 'modals/apply_template.html' %} +{% include 'modals/edit_tracked_meal.html' %} +{% include 'modals/add_single_food.html' %}