From d15ade61f2a7ba13956c919d696ab51d419d458d Mon Sep 17 00:00:00 2001 From: Stef Date: Mon, 11 Aug 2025 15:02:40 +0200 Subject: [PATCH] Remove barcode scanner feature and template Deleted the /scan route and its associated scan.html template, removing the barcode scanner functionality from the application. --- app.py | 6 ---- application/templates/scan.html | 62 --------------------------------- 2 files changed, 68 deletions(-) delete mode 100644 application/templates/scan.html diff --git a/app.py b/app.py index a4dd16e..5edd909 100644 --- a/app.py +++ b/app.py @@ -72,12 +72,6 @@ def logout(): return redirect(url_for("index")) -@app.route("/scan") -@login_required -def scan(): - return render_template("scan.html") - - # Run if __name__ == "__main__": # If there are no users, create admin account diff --git a/application/templates/scan.html b/application/templates/scan.html deleted file mode 100644 index 92a7933..0000000 --- a/application/templates/scan.html +++ /dev/null @@ -1,62 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-
-

Barcode Scanner

-

Use your camera to scan barcodes

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