Update templates/menu.html
Browse files- templates/menu.html +18 -1
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 |
-
<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,8 +555,25 @@ 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 |
<!-- Search Bar Section -->
|
561 |
<div class="search-bar-container">
|
562 |
<input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
|
|
|
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 |
+
<div class="profile-container">
|
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 |
+
<li><a href="{{ url_for('rewards') }}">Rewards</a></li>
|
570 |
+
<li><a href="{{ url_for('referral_code') }}">Referral Code</a></li>
|
571 |
+
<li><a href="{{ url_for('logout') }}">Logout</a></li>
|
572 |
+
</ul>
|
573 |
+
</div>
|
574 |
+
</div>
|
575 |
+
|
576 |
+
|
577 |
<!-- Search Bar Section -->
|
578 |
<div class="search-bar-container">
|
579 |
<input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
|