Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,13 +43,13 @@ modal_and_cart_js = """
|
|
43 |
<script>
|
44 |
let cart = [];
|
45 |
const extrasPrices = {
|
46 |
-
"Extra Raitha 4oz":
|
47 |
"Extra Raitha 8oz": 2,
|
48 |
"Extra Salan 4oz": 1,
|
49 |
"Extra Salan 8oz": 2,
|
50 |
-
"Extra Onion":
|
51 |
-
"Extra Onion & Lemon":
|
52 |
-
"Extra Fried Onion 4oz":
|
53 |
};
|
54 |
let finalized = false;
|
55 |
function openModal(name, image, description, price) {
|
@@ -156,15 +156,15 @@ def app():
|
|
156 |
<p id="modal-description"></p>
|
157 |
<p id="modal-price"></p>
|
158 |
<!-- Biryani Extras -->
|
159 |
-
<label for="biryani-extras">Biryani Extras
|
160 |
<div id="biryani-extras-options" style="display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0;">
|
161 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Raitha 4oz" />
|
162 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Raitha 8oz" />
|
163 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Salan 4oz" /> Extra
|
164 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Salan 8oz" /> Extra Salan
|
165 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Onion" /> Extra Onion + $
|
166 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Onion & Lemon" />
|
167 |
-
<label><input type="checkbox" name="biryani-extra" value="Extra Fried Onion 4oz" />
|
168 |
</div>
|
169 |
<!-- Quantity and Special Instructions -->
|
170 |
<label for="quantity">Quantity:</label>
|
|
|
43 |
<script>
|
44 |
let cart = [];
|
45 |
const extrasPrices = {
|
46 |
+
"Extra Raitha 4oz": 2,
|
47 |
"Extra Raitha 8oz": 2,
|
48 |
"Extra Salan 4oz": 1,
|
49 |
"Extra Salan 8oz": 2,
|
50 |
+
"Extra Onion": 2,
|
51 |
+
"Extra Onion & Lemon": 14,
|
52 |
+
"Extra Fried Onion 4oz": 12
|
53 |
};
|
54 |
let finalized = false;
|
55 |
function openModal(name, image, description, price) {
|
|
|
156 |
<p id="modal-description"></p>
|
157 |
<p id="modal-price"></p>
|
158 |
<!-- Biryani Extras -->
|
159 |
+
<label for="biryani-extras">Biryani Extras :</label>
|
160 |
<div id="biryani-extras-options" style="display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0;">
|
161 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Raitha 4oz" /> Thums up + $2.00</label>
|
162 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Raitha 8oz" /> Sprite + $2.00</label>
|
163 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Salan 4oz" /> Extra Raitha + $1.00</label>
|
164 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Salan 8oz" /> Extra Salan + $2.00</label>
|
165 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Onion" /> Extra Onion & Lemon + $2.00</label>
|
166 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Onion & Lemon" /> Chilli Chicken + $14.00</label>
|
167 |
+
<label><input type="checkbox" name="biryani-extra" value="Extra Fried Onion 4oz" /> Veg Manchurian + $12.00</label>
|
168 |
</div>
|
169 |
<!-- Quantity and Special Instructions -->
|
170 |
<label for="quantity">Quantity:</label>
|