From 26cbb48d1d71844d208e52d7a1ae7c67fe91dfdd Mon Sep 17 00:00:00 2001 From: Stef Date: Thu, 7 Aug 2025 20:29:03 +0200 Subject: [PATCH] Remove overview route and template Deleted the /overview route from user routes and removed the associated overview.html template. This cleans up unused code related to the daily nutrition overview feature. --- application/user/routes.py | 5 -- application/user/templates/overview.html | 69 ------------------------ 2 files changed, 74 deletions(-) delete mode 100644 application/user/templates/overview.html diff --git a/application/user/routes.py b/application/user/routes.py index 1ed50ec..30913ae 100644 --- a/application/user/routes.py +++ b/application/user/routes.py @@ -67,11 +67,6 @@ def edit_food_item(id: int): return redirect(url_for("user.dashboard")) -@user_bp.route("/overview", methods=["GET"]) -def overview(): - return render_template("overview.html") - - @user_bp.route("/", methods=["GET"]) def daily_log(): today = datetime.now(timezone.utc).date() diff --git a/application/user/templates/overview.html b/application/user/templates/overview.html deleted file mode 100644 index 3424a55..0000000 --- a/application/user/templates/overview.html +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "base.html" %} - -{% block title %} -Food Nutritional Info -{% endblock %} - -{% block content %} - -
-
-

Daily Nutrition Overview

-
- -
- -
-
-
-
Calories
-

1,850 / 2,000 kcal

-
-
-
-
-
-
- - -
-
-
-
Protein
-

120g / 150g

-
-
-
-
-
-
- - -
-
-
-
Carbs
-

200g / 250g

-
-
-
-
-
-
- - -
-
-
-
Fat
-

60g / 70g

-
-
-
-
-
-
-
-
- -{% endblock%} \ No newline at end of file