Skip to content

Commit

Permalink
created sidebar menu to logout user
Browse files Browse the repository at this point in the history
  • Loading branch information
morikeli committed Feb 25, 2024
1 parent 89b7dae commit ecde7ee
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,37 +67,11 @@
<span>Profile</span>
</a>
</li>
<li class="sidebar-item dropdown">
<a class="nav-link d-flex align-items-center pe-0" href="" data-bs-toggle="dropdown">
<i class="bi-list toggle-sidebar-btn"></i>
<span class="d-none d-md-block dropdown-toggle ps-2">More</span>
<li class="sidebar-item">
<a href="{% url 'logout' %}" class="sidebar-link">
<i class="bi-box-arrow-right"></i>
<span>Logout</span>
</a>
<ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
<li>
<a class="dropdown-item d-flex align-items-center" href="{% url 'edit_profile' %}">
<i class="bi bi-gear-wide"></i>
<span>Settings</span>
</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a class="dropdown-item d-flex align-items-center" href="">
<i class="bi bi-bookmark-fill"></i>
<span>Saved</span>
</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a class="dropdown-item d-flex align-items-center" href="{% url 'logout' %}">
<i class="bi bi-box-arrow-right"></i>
<span>Logout</span>
</a>
</li>
</ul>
</li>
</ul>
</aside>
Expand Down

0 comments on commit ecde7ee

Please sign in to comment.