From ec4aa0e26f1bae16e35d6c06efd3c0aa2ecd58b5 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 3 Oct 2022 11:07:43 +0200 Subject: [PATCH] Fix affichage moduleimpl_status --- app/scodoc/sco_moduleimpl_status.py | 11 ++++++----- app/static/css/scodoc.css | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index 852dbd9dd..cfec9aa68 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -775,7 +775,7 @@ def _ligne_evaluation( f"""""" ) H.append("pas de notes") if can_edit_notes: @@ -793,14 +793,15 @@ def _evaluation_poids_html(evaluation: Evaluation) -> str: max_poids = max(ue_poids.values()) if max_poids < scu.NOTES_PRECISION: return - # style="--max:{max_poids} H = ( """
""" + "\n".join( [ - f"""
""" + f"""
+
+
""" for ue, poids in ( (UniteEns.query.get(ue_id), poids) for ue_id, poids in ue_poids.items() diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index b5cdee32c..07bfc6a6d 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -1836,6 +1836,7 @@ tr.mievr td.mievr_tit { tr.mievr td { text-align: left; + vertical-align: top; background-color: white; } @@ -1864,7 +1865,6 @@ tr.mievr td.mievr_nbnotes { } tr td.mievr_grtit { - vertical-align: top; text-align: right; font-weight: bold; }