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

Commit

Permalink
tooltip compte
Browse files Browse the repository at this point in the history
  • Loading branch information
elouanjef committed Jan 26, 2024
1 parent d5d09db commit 8122e77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added static/icons/compte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<a id="profBtn" class="navbar-brand ml-auto" href="/professor" aria-hidden="true" style="display: none;">Espace professeur</a>
<a id="adminBtn" class="navbar-brand ml-auto" href="/admin" aria-hidden="true" style="display: none;">Espace admin</a>
<a id="connexionBtn" class="navbar-brand ml-auto">Connexion</a>
<span class="navbar-text ml-auto" data-toggle="tooltip" data-placement="left" title="Informations utiles">
<img src="{{ url_for('static', filename='icons/compte.png' ) }}" alt="Info" style="width: 20px; height: 20px; cursor: pointer;">
</span>
</div>
</nav>
<!-- Loading modal -->
Expand Down Expand Up @@ -250,6 +253,10 @@ <h5 class="modal-title" id="alertModalLabel"></h5>
$(document).ready(function () {
getUserProfile();
});

$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
</script>

<style>
Expand Down

0 comments on commit 8122e77

Please sign in to comment.