Update templates/menu.html
Browse files- templates/menu.html +6 -9
templates/menu.html
CHANGED
@@ -463,17 +463,13 @@ form-check-input addon-option{
|
|
463 |
</div>
|
464 |
</div>
|
465 |
|
466 |
-
|
467 |
<form method="get" action="/menu" class="text-center mb-4">
|
468 |
-
<label class="form-label fw-bold">
|
469 |
<div class="form-check form-check-inline">
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
{% if selected_category == category %}checked{% endif %} onchange="this.form.submit()">
|
475 |
-
<label class="form-check-label" for="category-{{ category }}">{{ category }}</label>
|
476 |
-
{% endfor %}
|
477 |
</div>
|
478 |
|
479 |
<!-- Customized Dish toggle (styled like a switch) -->
|
@@ -488,6 +484,7 @@ form-check-input addon-option{
|
|
488 |
|
489 |
|
490 |
|
|
|
491 |
<!-- Show menu items only when Customized Dish is not selected -->
|
492 |
<div class="container mt-4">
|
493 |
<h1 class="text-center">Menu</h1>
|
|
|
463 |
</div>
|
464 |
</div>
|
465 |
|
|
|
466 |
<form method="get" action="/menu" class="text-center mb-4">
|
467 |
+
<label class="form-label fw-bold">Show Veg Items:</label>
|
468 |
<div class="form-check form-check-inline">
|
469 |
+
<!-- Veg toggle switch -->
|
470 |
+
<input type="checkbox" id="veg-toggle" name="veg"
|
471 |
+
{% if selected_category == "Veg" %}checked{% endif %} onchange="this.form.submit()">
|
472 |
+
<label class="form-check-label" for="veg-toggle">Veg Only</label>
|
|
|
|
|
|
|
473 |
</div>
|
474 |
|
475 |
<!-- Customized Dish toggle (styled like a switch) -->
|
|
|
484 |
|
485 |
|
486 |
|
487 |
+
|
488 |
<!-- Show menu items only when Customized Dish is not selected -->
|
489 |
<div class="container mt-4">
|
490 |
<h1 class="text-center">Menu</h1>
|