From a6b97e96677d6c38b43232525a5111da4949e720 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 10 Sep 2021 23:18:27 +0200 Subject: [PATCH] =?UTF-8?q?Cosm=C3=A9tique:=20barre=20page=20accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_dept.py | 4 ++-- app/static/css/scodoc.css | 12 ++++++++++++ app/templates/base.html | 14 ++++++++++---- app/templates/scodoc.html | 3 ++- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/app/scodoc/sco_dept.py b/app/scodoc/sco_dept.py index a24638d12..349ad0095 100644 --- a/app/scodoc/sco_dept.py +++ b/app/scodoc/sco_dept.py @@ -183,7 +183,7 @@ def _sem_table(sems): """Affiche liste des semestres, utilisée pour semestres en cours""" tmpl = """%(tmpcode)s %(lockimg)s %(groupicon)s - %(mois_debut)s- %(mois_fin)s + %(mois_debut)s - %(mois_fin)s %(titre_num)s (%(responsable_name)s) @@ -196,7 +196,7 @@ def _sem_table(sems): H = [''] for modalite in modalites: if len(modalites) > 1: - H.append('' % modalite["titre"]) + H.append('' % modalite["titre"]) if sems_by_mod[modalite["modalite"]]: cur_idx = sems_by_mod[modalite["modalite"]][0]["semestre_id"] diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index 4c59e3310..47019d941 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -96,6 +96,10 @@ tr.bandeaugtr { text-decoration: underline; } +.navbar-default .navbar-nav>li.logout a { + color: rgb(255,0,0); +} + /* ----- page content ------ */ div.about-logo { @@ -324,6 +328,9 @@ table.listesems th { padding-top: 0.5em; padding-left: 0.5em; } +table.listesems td { + vertical-align: center; +} table.listesems td.semicon { padding-left: 1.5em; @@ -333,6 +340,11 @@ table.listesems tr.firstsem td { padding-top: 0.8em; } +td.datesem { + font-size: 80%; + white-space: nowrap; +} + h2.listesems { padding-top: 10px; padding-bottom: 0px; diff --git a/app/templates/base.html b/app/templates/base.html index 050684008..0be7c6fce 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -25,15 +25,21 @@ diff --git a/app/templates/scodoc.html b/app/templates/scodoc.html index 23826e3c0..f48ad0f46 100644 --- a/app/templates/scodoc.html +++ b/app/templates/scodoc.html @@ -38,8 +38,9 @@ {% endif %} + {% endblock %} \ No newline at end of file
%s
%s