Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +4 -4
templates/menu.html
CHANGED
@@ -259,7 +259,7 @@
|
|
259 |
</div>
|
260 |
|
261 |
<!-- Avatar and Dropdown -->
|
262 |
-
|
263 |
<div class="avatar-icon">
|
264 |
<!-- Use the first letter of the user's name for the avatar -->
|
265 |
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
@@ -270,8 +270,8 @@
|
|
270 |
<a href="{{ url_for('order_history') }}" class="dropdown-item">Order History</a>
|
271 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
272 |
</div>
|
273 |
-
</div>
|
274 |
-
<div class="avatar-dropdown-container">
|
275 |
<div class="avatar-icon" onclick="document.getElementById('imageUpload').click()">
|
276 |
<img id="avatarImage" src="path/to/default-avatar.png" alt="User Avatar" class="avatar-img">
|
277 |
</div>
|
@@ -282,7 +282,7 @@
|
|
282 |
<a href="{{ url_for('order_history') }}" class="dropdown-item">Order History</a>
|
283 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
284 |
</div>
|
285 |
-
</div>
|
286 |
</div>
|
287 |
|
288 |
<div class="container mt-4">
|
|
|
259 |
</div>
|
260 |
|
261 |
<!-- Avatar and Dropdown -->
|
262 |
+
<div class="avatar-dropdown-container">
|
263 |
<div class="avatar-icon">
|
264 |
<!-- Use the first letter of the user's name for the avatar -->
|
265 |
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
|
|
270 |
<a href="{{ url_for('order_history') }}" class="dropdown-item">Order History</a>
|
271 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
272 |
</div>
|
273 |
+
</div>
|
274 |
+
<!-- <div class="avatar-dropdown-container">
|
275 |
<div class="avatar-icon" onclick="document.getElementById('imageUpload').click()">
|
276 |
<img id="avatarImage" src="path/to/default-avatar.png" alt="User Avatar" class="avatar-img">
|
277 |
</div>
|
|
|
282 |
<a href="{{ url_for('order_history') }}" class="dropdown-item">Order History</a>
|
283 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
284 |
</div>
|
285 |
+
</div> -->
|
286 |
</div>
|
287 |
|
288 |
<div class="container mt-4">
|