From 7f1564dd0ddbb366dc8a9c7ad4ab13eec8e47060 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Mon, 8 Jan 2024 11:33:35 +0100 Subject: [PATCH] navigation bar now contains the page title --- Palto/Palto/static/Palto/css/navigation.css | 6 +++++- Palto/Palto/templates/Palto/absence_list.html | 8 ++++++++ Palto/Palto/templates/Palto/absence_new.html | 8 ++++++++ Palto/Palto/templates/Palto/absence_view.html | 8 ++++++++ Palto/Palto/templates/Palto/base/base-features.html | 6 +++++- Palto/Palto/templates/Palto/base/base.html | 2 +- Palto/Palto/templates/Palto/department_view.html | 8 ++++++++ Palto/Palto/templates/Palto/homepage.html | 8 ++++++++ Palto/Palto/templates/Palto/login.html | 8 ++++++++ Palto/Palto/templates/Palto/profile.html | 8 ++++++++ Palto/Palto/templates/Palto/student_group.html | 8 ++++++++ Palto/Palto/templates/Palto/teaching_session_list.html | 8 ++++++++ Palto/Palto/templates/Palto/teaching_session_view.html | 8 ++++++++ Palto/Palto/templates/Palto/teaching_unit_view.html | 8 ++++++++ 14 files changed, 99 insertions(+), 3 deletions(-) diff --git a/Palto/Palto/static/Palto/css/navigation.css b/Palto/Palto/static/Palto/css/navigation.css index 225b277..d1cceae 100644 --- a/Palto/Palto/static/Palto/css/navigation.css +++ b/Palto/Palto/static/Palto/css/navigation.css @@ -11,7 +11,7 @@ nav { gap: 10px; } -#navigation-title { +#navigation-app-name { font-size: 150%; } @@ -19,6 +19,10 @@ nav { width: 20%; } +#navigation-title { + font-size: 300%; +} + #navigation-buttons { display: flex; margin-left: auto; diff --git a/Palto/Palto/templates/Palto/absence_list.html b/Palto/Palto/templates/Palto/absence_list.html index ec63067..234bba8 100644 --- a/Palto/Palto/templates/Palto/absence_list.html +++ b/Palto/Palto/templates/Palto/absence_list.html @@ -1,5 +1,13 @@ {% extends "Palto/base/base-features.html" %} +{% block page-title %} + Absences +{% endblock %} + +{% block navigation-title %} + Absences +{% endblock %} + {% block body %} {{ block.super }} diff --git a/Palto/Palto/templates/Palto/absence_new.html b/Palto/Palto/templates/Palto/absence_new.html index 19ebbf9..f839a4c 100644 --- a/Palto/Palto/templates/Palto/absence_new.html +++ b/Palto/Palto/templates/Palto/absence_new.html @@ -1,5 +1,13 @@ {% extends "Palto/base/base-features.html" %} +{% block page-title %} + Nouvelle Absence +{% endblock %} + +{% block navigation-title %} + Nouvelle Absence +{% endblock %} + {% block body %} {{ block.super }} diff --git a/Palto/Palto/templates/Palto/absence_view.html b/Palto/Palto/templates/Palto/absence_view.html index ce057ef..a2f1460 100644 --- a/Palto/Palto/templates/Palto/absence_view.html +++ b/Palto/Palto/templates/Palto/absence_view.html @@ -1,5 +1,13 @@ {% extends "Palto/base/base-features.html" %} +{% block page-title %} + Absence +{% endblock %} + +{% block navigation-title %} + Absence +{% endblock %} + {% block body %} {{ block.super }} diff --git a/Palto/Palto/templates/Palto/base/base-features.html b/Palto/Palto/templates/Palto/base/base-features.html index f4c4b5e..2ba3dbc 100644 --- a/Palto/Palto/templates/Palto/base/base-features.html +++ b/Palto/Palto/templates/Palto/base/base-features.html @@ -12,7 +12,11 @@