Update templates/menu.html
Browse files- templates/menu.html +2 -48
templates/menu.html
CHANGED
@@ -691,7 +691,7 @@ form-check-input addon-option{
|
|
691 |
</div>
|
692 |
|
693 |
<!-- Modal for Item Details -->
|
694 |
-
|
695 |
<div class="modal-dialog modal-dialog-centered">
|
696 |
<div class="modal-content">
|
697 |
<div class="modal-header">
|
@@ -731,54 +731,8 @@ form-check-input addon-option{
|
|
731 |
</div>
|
732 |
</div>
|
733 |
</div>
|
734 |
-
</div>
|
735 |
-
<div class="modal fade" id="itemModal" tabindex="-1" aria-labelledby="itemModalLabel" aria-hidden="true">
|
736 |
-
<div class="modal-dialog modal-dialog-centered">
|
737 |
-
<div class="modal-content">
|
738 |
-
<div class="modal-header">
|
739 |
-
<h5 class="modal-title" id="itemModalLabel">Item Details</h5>
|
740 |
-
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
741 |
-
</div>
|
742 |
-
<div class="modal-body">
|
743 |
-
<!-- Item Image -->
|
744 |
-
<img id="modal-img" class="img-fluid rounded mb-3 d-block mx-auto" alt="Item Image" style="max-height: 200px; object-fit: cover;">
|
745 |
-
<!-- Item Name -->
|
746 |
-
<h5 id="modal-name" class="fw-bold text-center"></h5>
|
747 |
-
<!-- Item Price -->
|
748 |
-
<p id="modal-price" class="text-muted text-center"></p>
|
749 |
-
<!-- Item Description -->
|
750 |
-
<p id="modal-description" class="text-secondary"></p>
|
751 |
-
|
752 |
-
<!-- Add-ons Section (Always Visible) -->
|
753 |
-
<div id="modal-addons" class="modal-addons mt-4">
|
754 |
-
<h6>Customization Options</h6>
|
755 |
-
<div id="addons-list" class="addons-container">Loading customization options...</div>
|
756 |
-
</div>
|
757 |
-
|
758 |
-
<!-- Only show Custom Request & Other Sections if not Appetizer or Customized Dish -->
|
759 |
-
<div id="other-sections" style="display: none;">
|
760 |
-
<div class="mt-4">
|
761 |
-
<h6>Custom Request</h6>
|
762 |
-
<textarea id="modal-instructions" class="form-control" placeholder="Enter any special instructions here..."></textarea>
|
763 |
-
</div>
|
764 |
-
</div>
|
765 |
|
766 |
-
<span id="modal-section" data-section="" data-category="" style="display: none;"></span>
|
767 |
-
</div>
|
768 |
-
<!-- Quantity Controls and Add to Cart Button -->
|
769 |
-
<div class="modal-footer d-flex align-items-center justify-content-between">
|
770 |
-
<!-- Quantity Controls -->
|
771 |
-
<div class="d-flex align-items-center gap-2">
|
772 |
-
<button type="button" class="btn btn-outline-secondary" id="decreaseQuantity">-</button>
|
773 |
-
<input type="text" class="form-control text-center" id="quantityInput" value="1" readonly style="width: 50px;"/>
|
774 |
-
<button type="button" class="btn btn-outline-secondary" id="increaseQuantity">+</button>
|
775 |
-
</div>
|
776 |
-
<!-- Add to Cart Button -->
|
777 |
-
<button type="button" class="btn btn-primary" onclick="addToCartFromModal()">Add to Cart</button>
|
778 |
-
</div>
|
779 |
-
</div>
|
780 |
-
</div>
|
781 |
-
</div>
|
782 |
|
783 |
|
784 |
<!-- JavaScript -->
|
|
|
691 |
</div>
|
692 |
|
693 |
<!-- Modal for Item Details -->
|
694 |
+
<div class="modal fade" id="itemModal" tabindex="-1" aria-labelledby="itemModalLabel" aria-hidden="true">
|
695 |
<div class="modal-dialog modal-dialog-centered">
|
696 |
<div class="modal-content">
|
697 |
<div class="modal-header">
|
|
|
731 |
</div>
|
732 |
</div>
|
733 |
</div>
|
734 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
735 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
736 |
|
737 |
|
738 |
<!-- JavaScript -->
|