Update food item templates for clarity and styling

Changed table heading in food_items.html to indicate values are per 100g/100ml and applied 'bg-body-tertiary' class to table cells for improved readability. Updated add_food_item.html to use 'form-control-plaintext' for the readonly barcode field for better display consistency.
This commit is contained in:
2025-06-29 09:45:45 +02:00
parent cfff4b15d0
commit 36b189c689
2 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
<div class="mb-3">
{{ form.barcode.label(class="form-label") }}
{{ form.barcode(class="form-control", readonly=true, style="background-color: #e9ecef; cursor: not-allowed;") }}
{{ form.barcode(class="form-control-plaintext", readonly=true) }}
</div>
<div class="mb-3">