Add theme toggle and admin nav link, update styles

Introduced a dark/light theme toggle with persistent user preference using localStorage. Updated base template to use Bootstrap's theme system, adjusted body background class, and added a conditional 'Food Items' nav link for admins. Simplified scan page header text.
This commit is contained in:
2025-06-29 09:11:20 +02:00
parent a39f54dbb0
commit cfff4b15d0
2 changed files with 27 additions and 9 deletions

View File

@@ -3,8 +3,8 @@
{% block content %}
<div class="container py-5">
<div class="text-center mb-4">
<h1 class="fw-bold">📷 ZXing Barcode Scanner</h1>
<p class="text-muted">Use your camera to scan barcodes in real time.</p>
<h1 class="fw-bold">Barcode Scanner</h1>
<p class="text-muted">Use your camera to scan barcodes</p>
</div>
<div class="d-flex justify-content-center mb-4">