Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
ptn
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 26, 2024
1 parent 3c306b8 commit 94df27d
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,12 @@
<a class="navbar-brand" href="/">
<img src="{{ url_for('static', filename='icons/vdi.png' ) }}" alt="Info" style="width: 50px; height: 58px; cursor: pointer;">
</a>
<div class="btn-group">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Right-aligned menu
</button>
<div class="dropdown-menu dropdown-menu-right">
<button class="dropdown-item" type="button">Action</button>
<button class="dropdown-item" type="button">Another action</button>
<button class="dropdown-item" type="button">Something else here</button>
</div>
</div>
<div class="btn-group navbar-brand dropleft">

<div class="btn-group navbar-brand dropdown">
<button class="btn dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="{{ url_for('static', filename='icons/profil.png' ) }}" alt="Info" style="width: 20px; height: 20px; cursor: pointer;">
</button>
<ul class="dropdown-menu dropdown-menu-left dropdown-menu-dark">
<ul class="dropdown-menu dropdown-menu-right dropdown-menu-dark">
<li><a class="dropdown-item" data-toggle="modal" data-target="#userInfoModal"><i class="bi bi-person"></i> Mon compte</a></li>
<li><a class="dropdown-item" href="/dashboard"><i class="bi bi-laptop"></i> Dashboard</a></li>
<li id="profBtn" style="display: none;"><a class="dropdown-item" href="/professor"><i class="bi bi-person-video3"></i> Espace professeur</a></li>
Expand Down Expand Up @@ -292,6 +283,10 @@ <h5 class="modal-title" id="alertModalLabel"></h5>
</script>

<style>
.dropdown-menu-right {
right: 0;
}

.lds-default-container {
display: flex;
justify-content: center;
Expand Down

0 comments on commit 94df27d

Please sign in to comment.