From fa3ea025edec7f9e33df362cd2cda65cee3ec822 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 27 Jun 2022 18:53:44 +0200 Subject: [PATCH] Jury BUT: cosmetic tableau jury --- app/but/jury_but_recap.py | 2 ++ app/static/css/scodoc.css | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/app/but/jury_but_recap.py b/app/but/jury_but_recap.py index a3a0e0a6..73c7ab1c 100644 --- a/app/but/jury_but_recap.py +++ b/app/but/jury_but_recap.py @@ -307,12 +307,14 @@ class RowCollector: f"
{rcue.ue_1.acronyme}
{rcue.ue_2.acronyme}
", self.fmt_note(val), "col_rcue" + note_class, + column_class="col_rcue", ) self.add_cell( col_id + "_code", f"
{rcue.ue_1.acronyme}
{rcue.ue_2.acronyme}
", dec_rcue.code_valide or "", "col_rcue_code recorded_code", + column_class="col_rcue", ) def add_nb_rcues_cell(self, deca: DecisionsProposeesAnnee): diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index 99158dab..c94bc629 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -3787,6 +3787,13 @@ table.table_recap.jury .col_rcue { font-weight: bold; } +table.table_recap.jury tr.even td.col_rcue { + background-color: rgb(243, 243, 243); +} + +table.table_recap.jury tr.odd td.col_rcue { + background-color: #e6eeed; +} table.table_recap .group { border-left: 1px dashed rgb(160, 160, 160);