speakmore-2.0/templates/topbar.html
Olai bc9fcda6aa Updated online detection and fixed bugs
Updated online detection and fixed bugs
2024-06-25 23:27:34 +02:00

22 lines
855 B
HTML

<div class="bg-[#444791] dark:!bg-[#454792] text-white h-[50px] flex items-center pl-3 justify-between">
<div class="logo-font text-lg">SpeakMore</div>
<div class="dropdown">
<button class="dropbtn"><i class="fa-solid fa-user"></i></button>
<div class="dropdown-content">
<p>{{ username }}</p>
<a href="/settings"><i class="fa-solid fa-gear"></i> Settings</a>
<a href="/change_password"><i class="fa-solid fa-lock"></i> Change Password</a>
<a href="{{ url_for('custom_css') }}"><i class="fa-brands fa-css3-alt"></i> Custom CSS</a>
{% if is_admin %}
<a href="/admin"><i class="fa-solid fa-shield-alt"></i> Admin Panel</a>
{% endif %}
<a href="/logout"><i class="fa-solid fa-right-from-bracket"></i> Logout</a>
</div>
</div>
</div>