From 2d9635fd176bb3dfc669e829729a91185c37ceb4 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 1 Nov 2022 11:45:48 +0100 Subject: [PATCH] Add basic navbar --- src/common/templates/common/base.html | 4 +--- src/common/templates/common/navbar.html | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 src/common/templates/common/navbar.html diff --git a/src/common/templates/common/base.html b/src/common/templates/common/base.html index 57cf432..506118e 100644 --- a/src/common/templates/common/base.html +++ b/src/common/templates/common/base.html @@ -18,10 +18,8 @@ + {% include "common/navbar.html" %}
- {% if user.is_authenticated %} - Déconnexion - {% endif %} {% block content %} {% endblock %}
diff --git a/src/common/templates/common/navbar.html b/src/common/templates/common/navbar.html new file mode 100644 index 0000000..75608d8 --- /dev/null +++ b/src/common/templates/common/navbar.html @@ -0,0 +1,22 @@ +