nagasurendra commited on
Commit
5f4969b
·
verified ·
1 Parent(s): 73faafc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -351,10 +351,10 @@ def app():
351
  <button onclick="closeModal()" style="background: none; border: none; font-size: 18px; cursor: pointer;">&times;</button>
352
  </div>
353
  <img id="modal-image" style="width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px;" />
354
- <h2 id="modal-name"></h2>
355
  <p id="modal-description"></p>
356
  <p id="modal-price"></p>
357
- <!-- Biryani Extras -->
358
  <label for="biryani-extras">Extras :</label>
359
  <div id="biryani-extras-options" style="display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0;">
360
  <label><input type="checkbox" name="biryani-extra" value="Thums up" /> Thums up + $2.00</label>
@@ -367,10 +367,8 @@ def app():
367
  </div>
368
  <!-- Quantity and Special Instructions -->
369
  <label for="quantity">Quantity:</label>
370
- <input type="number" id="quantity" value="1" min="1" style="width: 50px;" />
371
- <br><br>
372
  <textarea id="special-instructions" placeholder="Add special instructions here..." style="width: 100%; height: 60px;"></textarea>
373
- <br><br>
374
  <!-- Add to Cart Button -->
375
  <button style="background-color: #28a745; color: white; border: none; padding: 10px 20px; font-size: 14px; border-radius: 5px; cursor: pointer;" onclick="addToCart()">Add to Cart</button>
376
  </div>
 
351
  <button onclick="closeModal()" style="background: none; border: none; font-size: 18px; cursor: pointer;">&times;</button>
352
  </div>
353
  <img id="modal-image" style="width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px;" />
354
+ <h4 id="modal-name"></h4>
355
  <p id="modal-description"></p>
356
  <p id="modal-price"></p>
357
+ <!-- Extras -->
358
  <label for="biryani-extras">Extras :</label>
359
  <div id="biryani-extras-options" style="display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0;">
360
  <label><input type="checkbox" name="biryani-extra" value="Thums up" /> Thums up + $2.00</label>
 
367
  </div>
368
  <!-- Quantity and Special Instructions -->
369
  <label for="quantity">Quantity:</label>
370
+ <input type="number" id="quantity" value="1" min="1" style="width: 30px;" />
 
371
  <textarea id="special-instructions" placeholder="Add special instructions here..." style="width: 100%; height: 60px;"></textarea>
 
372
  <!-- Add to Cart Button -->
373
  <button style="background-color: #28a745; color: white; border: none; padding: 10px 20px; font-size: 14px; border-radius: 5px; cursor: pointer;" onclick="addToCart()">Add to Cart</button>
374
  </div>