Rammohan0504 commited on
Commit
c6f22de
·
verified ·
1 Parent(s): 3c08564

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -117,9 +117,10 @@ def display_dishes(category):
117
  <div style='text-align: center;'>
118
  <img src='{dish['image']}' alt='{dish['name']}'
119
  style='width: 150px; height: 100px; object-fit: cover; border-radius: 10px;'>
 
120
  <button onclick="showPopup('{dish['image']}', '{dish['name']}', '{dish['description']}', '{dish['price']}')"
121
  style="margin-top: 15px; padding: 10px 20px; background-color: #28a745; color: white; border: none;
122
- border-radius: 5px; cursor: pointer;">Add</button>
123
  </div>
124
  </div>
125
  """
 
117
  <div style='text-align: center;'>
118
  <img src='{dish['image']}' alt='{dish['name']}'
119
  style='width: 150px; height: 100px; object-fit: cover; border-radius: 10px;'>
120
+ <div id = "addButton">
121
  <button onclick="showPopup('{dish['image']}', '{dish['name']}', '{dish['description']}', '{dish['price']}')"
122
  style="margin-top: 15px; padding: 10px 20px; background-color: #28a745; color: white; border: none;
123
+ border-radius: 5px; cursor: pointer;">Add</button> </div>
124
  </div>
125
  </div>
126
  """