Skip to content

Commit

Permalink
created dropdown to sign users out
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSchweyk committed Mar 17, 2022
1 parent 93ecf3d commit 4d638c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Server/templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@
<li class="nav-item">
<a class="nav-link" href="{{ url_for('equations', user_flast=session['flast']) }}">Equations</a>
</li>

</ul>
<form class="d-flex" action="{{ url_for('logout', user_flast=session['flast']) }}">
<!-- <button class="btn btn-secondary" type="submit">Log Out</button>-->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown
Signed in as: {{ user }}
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
<li>
<button class="btn btn-secondary" type="submit">Log Out</button>
</li>
</ul>
</li>
</ul>
<form class="d-flex" action="{{ url_for('logout', user_flast=session['flast']) }}">
<button class="btn btn-secondary" type="submit">Log Out</button>
</form>
</div>
</div>
Expand Down

0 comments on commit 4d638c2

Please sign in to comment.