Update templates/menu.html
Browse files- templates/menu.html +3 -17
templates/menu.html
CHANGED
@@ -545,7 +545,7 @@ form-check-input addon-option{
|
|
545 |
|
546 |
<div class="fixed-top-bar">
|
547 |
<!-- Avatar and Dropdown -->
|
548 |
-
|
549 |
<div class="avatar-icon">
|
550 |
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
551 |
</div>
|
@@ -555,22 +555,8 @@ form-check-input addon-option{
|
|
555 |
<a href="{{ url_for('orderhistory.order_history') }}" class="dropdown-item">Order History</a>
|
556 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
557 |
</div>
|
558 |
-
</div>
|
559 |
-
|
560 |
-
<div class="avatar-icon" onclick="window.location.href='{{ url_for('user_details.customer_details') }}'">
|
561 |
-
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
562 |
-
</div>
|
563 |
-
|
564 |
-
<!-- Options Section for Profile, Rewards, and Referral Code -->
|
565 |
-
<div class="profile-options">
|
566 |
-
<h3>Welcome, {{ user_name }}!</h3>
|
567 |
-
<ul>
|
568 |
-
<li><a href="{{ url_for('user_details.customer_details') }}">View Profile</a></li>
|
569 |
-
<a href="{{ url_for('orderhistory.order_history') }}" class="dropdown-item">Order History</a>
|
570 |
-
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
571 |
-
</ul>
|
572 |
-
</div>
|
573 |
-
</div>
|
574 |
|
575 |
|
576 |
<!-- Search Bar Section -->
|
|
|
545 |
|
546 |
<div class="fixed-top-bar">
|
547 |
<!-- Avatar and Dropdown -->
|
548 |
+
<div class="avatar-dropdown-container">
|
549 |
<div class="avatar-icon">
|
550 |
<span>{{ first_letter }}</span> <!-- Display the first letter of the customer's name -->
|
551 |
</div>
|
|
|
555 |
<a href="{{ url_for('orderhistory.order_history') }}" class="dropdown-item">Order History</a>
|
556 |
<a href="{{ url_for('logout') }}" class="dropdown-item">Logout</a>
|
557 |
</div>
|
558 |
+
</div>
|
559 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
|
561 |
|
562 |
<!-- Search Bar Section -->
|