Add barcode scanning and meal selection features

Introduces a barcode scanner page using the camera for food item entry, adds routes for selecting meal types and scanning products, and updates the test.html template to allow adding items to specific meals. Also updates branding in base.html, changes the Flask secret key, and enables SSL by default in app.py.
This commit is contained in:
2025-07-08 11:00:30 +02:00
parent 30e5e959cd
commit 5b378cad38
6 changed files with 151 additions and 44 deletions

View File

@@ -13,7 +13,7 @@
<body class="bg-body-secondary">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4">
<div class="container-fluid">
<a class="navbar-brand" href="{{ url_for('index') }}">Iman was here</a>
<a class="navbar-brand" href="{{ url_for('index') }}">CalCounter</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>