Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +1 -46
templates/menu.html
CHANGED
@@ -173,29 +173,6 @@
|
|
173 |
margin-left: 10px;
|
174 |
}
|
175 |
|
176 |
-
/* styel */
|
177 |
-
.radio-button-group {
|
178 |
-
display: flex;
|
179 |
-
gap: 20px;
|
180 |
-
margin-top: 10px;
|
181 |
-
align-items: center;
|
182 |
-
}
|
183 |
-
|
184 |
-
label {
|
185 |
-
font-size: 16px;
|
186 |
-
display: flex;
|
187 |
-
align-items: center;
|
188 |
-
}
|
189 |
-
|
190 |
-
input[type="radio"] {
|
191 |
-
margin-right: 5px;
|
192 |
-
}
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
|
200 |
</style>
|
201 |
</head>
|
@@ -229,29 +206,7 @@
|
|
229 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
230 |
</div>
|
231 |
</div>
|
232 |
-
|
233 |
-
<div class="avatar-icon">
|
234 |
-
<!-- Use the first letter of the user's name for the avatar -->
|
235 |
-
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
236 |
-
</div>
|
237 |
-
<form id="filter-form" method="get">
|
238 |
-
<div class="radio-button-group">
|
239 |
-
<!-- Radio buttons with href-like behavior through form submission -->
|
240 |
-
<label>
|
241 |
-
<input type="radio" name="food-type" value="all" onclick="location.href='{{ url_for('all_items') }}'"> All
|
242 |
-
</label>
|
243 |
-
<label>
|
244 |
-
<input type="radio" name="food-type" value="veg" onclick="location.href='{{ url_for('veg_items') }}'"> Veg
|
245 |
-
</label>
|
246 |
-
<label>
|
247 |
-
<input type="radio" name="food-type" value="non-veg" onclick="location.href='{{ url_for('non_veg_items') }}'"> Non-Veg
|
248 |
-
</label>
|
249 |
-
</div>
|
250 |
-
</form>
|
251 |
-
</div> -->
|
252 |
-
|
253 |
-
|
254 |
-
</div>
|
255 |
|
256 |
<div class="container mt-4">
|
257 |
<h1 class="text-center">Menu</h1>
|
|
|
173 |
margin-left: 10px;
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
|
177 |
</style>
|
178 |
</head>
|
|
|
206 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
207 |
</div>
|
208 |
</div>
|
209 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
<div class="container mt-4">
|
212 |
<h1 class="text-center">Menu</h1>
|