DSatishchandra commited on
Commit
6213be8
·
verified ·
1 Parent(s): 685f6d7

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +6 -7
templates/menu.html CHANGED
@@ -183,17 +183,17 @@
183
  }
184
  .search-bar-container input {
185
  width: 100%;
186
- padding: 8px 30px 8px 10px;
187
  font-size: 16px;
188
  border-radius: 10px;
189
  border: none;
190
  }
191
-
192
  .search-icon {
193
  position: absolute;
194
  left: 10px; /* Position the icon inside the input box */
195
  font-size: 20px;
196
  color: #888; /* Icon color */
 
197
  }
198
  /* Style for customization sections */
199
  .addon-section {
@@ -282,14 +282,14 @@
282
 
283
  <div class="fixed-top-bar">
284
  <!-- Removed Reward Points and Referral Code -->
285
- <div class="d-flex align-items-center">
286
  <a href="{{ url_for('order_history') }}" class="text-white mx-2" title="Order History">
287
  <i class="bi bi-clock-history fs-4"></i>
288
  </a>
289
  <a href="{{ url_for('logout') }}" class="text-white mx-2" title="Logout">
290
  <i class="bi bi-box-arrow-right fs-4"></i>
291
  </a>
292
- </div>
293
  <!-- Add Welcome Message with Customer Name -->
294
  <!-- <div class="d-flex align-items-center">
295
  <span class="text-white mr-3">Welcome, {{ user_name }}</span>
@@ -311,9 +311,8 @@
311
 
312
  <!-- Search Bar Moved to Header Section -->
313
  <div class="search-bar-container">
314
- <input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
315
- <i class="bi bi-search search-icon"></i> <!-- Search icon -->
316
- </div>
317
  </div>
318
 
319
  <!-- Category Filter with Custom Radio Buttons -->
 
183
  }
184
  .search-bar-container input {
185
  width: 100%;
186
+ padding: 8px;
187
  font-size: 16px;
188
  border-radius: 10px;
189
  border: none;
190
  }
 
191
  .search-icon {
192
  position: absolute;
193
  left: 10px; /* Position the icon inside the input box */
194
  font-size: 20px;
195
  color: #888; /* Icon color */
196
+ pointer-events: none; /* Disable clicking on the icon */
197
  }
198
  /* Style for customization sections */
199
  .addon-section {
 
282
 
283
  <div class="fixed-top-bar">
284
  <!-- Removed Reward Points and Referral Code -->
285
+ <!-- <div class="d-flex align-items-center">
286
  <a href="{{ url_for('order_history') }}" class="text-white mx-2" title="Order History">
287
  <i class="bi bi-clock-history fs-4"></i>
288
  </a>
289
  <a href="{{ url_for('logout') }}" class="text-white mx-2" title="Logout">
290
  <i class="bi bi-box-arrow-right fs-4"></i>
291
  </a>
292
+ </div> -->
293
  <!-- Add Welcome Message with Customer Name -->
294
  <!-- <div class="d-flex align-items-center">
295
  <span class="text-white mr-3">Welcome, {{ user_name }}</span>
 
311
 
312
  <!-- Search Bar Moved to Header Section -->
313
  <div class="search-bar-container">
314
+ <input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
315
+ <i class="bi bi-search search-icon"></i> <!-- Search icon inside the input -->
 
316
  </div>
317
 
318
  <!-- Category Filter with Custom Radio Buttons -->