This commit is contained in:
Bryce
2025-08-03 22:26:36 -07:00
parent fb3906a670
commit 9de5413e5a
16 changed files with 1179 additions and 85 deletions

View File

@@ -70,7 +70,7 @@
<div class="mt-auto pt-4 border-t border-base-300">
<div>
<a class="btn btn-ghost justify-start">
<a href="{{ url_for('auth.logout') }}" class="btn btn-ghost justify-start">
<i class="fas fa-sign-out-alt mr-3 text-error"></i>
Logout
</a>
@@ -96,9 +96,9 @@
<div class="relative" x-data="{ open: false }" @click.outside="open = false">
<button id="user-menu-button" class="flex items-center space-x-2 p-2 rounded-lg hover:bg-base-300" @click="open = !open">
<div class="w-8 h-8 rounded-full bg-primary flex items-center justify-center">
<span class="font-semibold text-primary-content">U</span>
<span class="font-semibold text-primary-content">{{ current_user.first_name[0] }}{{ current_user.last_name[0] }}</span>
</div>
<span class="hidden md:inline">User Name</span>
<span class="hidden md:inline">{{ current_user.first_name }} {{ current_user.last_name }}</span>
<i class="fas fa-chevron-down"></i>
</button>
@@ -106,7 +106,7 @@
<div id="user-dropdown" class="user-dropdown absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-base-100 z-10" x-show="open">
<a href="#" class="block px-4 py-2 text-sm hover:bg-base-300">Profile</a>
<a href="#" class="block px-4 py-2 text-sm hover:bg-base-300">Settings</a>
<a href="#" class="block px-4 py-2 text-sm hover:bg-base-300">Logout</a>
<a href="{{ url_for('auth.logout') }}" class="block px-4 py-2 text-sm hover:bg-base-300">Logout</a>
</div>
</div>
</div>