nagasurendra commited on
Commit
5d93443
·
verified ·
1 Parent(s): 8eccc46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -43,13 +43,13 @@ modal_and_cart_js = """
43
  <script>
44
  let cart = [];
45
  const extrasPrices = {
46
- "Extra Raitha 4oz": 1,
47
  "Extra Raitha 8oz": 2,
48
  "Extra Salan 4oz": 1,
49
  "Extra Salan 8oz": 2,
50
- "Extra Onion": 1,
51
- "Extra Onion & Lemon": 2,
52
- "Extra Fried Onion 4oz": 2
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 (Optional - Choose as many as you like):</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" /> Extra Raitha 4oz + $1.00</label>
162
- <label><input type="checkbox" name="biryani-extra" value="Extra Raitha 8oz" /> Extra Raitha 8oz + $2.00</label>
163
- <label><input type="checkbox" name="biryani-extra" value="Extra Salan 4oz" /> Extra Salan 4oz + $1.00</label>
164
- <label><input type="checkbox" name="biryani-extra" value="Extra Salan 8oz" /> Extra Salan 8oz + $2.00</label>
165
- <label><input type="checkbox" name="biryani-extra" value="Extra Onion" /> Extra Onion + $1.00</label>
166
- <label><input type="checkbox" name="biryani-extra" value="Extra Onion & Lemon" /> Extra Onion & Lemon + $2.00</label>
167
- <label><input type="checkbox" name="biryani-extra" value="Extra Fried Onion 4oz" /> Extra Fried Onion 4oz + $2.00</label>
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>