SignaleAbsenceGrSemestre : cosmetic

This commit is contained in:
Emmanuel Viennet 2021-11-07 10:00:50 +01:00
parent ae525fd267
commit 981f2c0e46
3 changed files with 10 additions and 4 deletions

View File

@ -1930,7 +1930,10 @@ td.present {
span.capstr {
color: red;
}
b.etuddem {
font-weight: normal;
font-style: italic;
}
tr.row_1 {
background-color: white;

View File

@ -723,6 +723,7 @@ def _gen_form_saisie_groupe(
for etud in etuds:
i += 1
etudid = etud["etudid"]
etud_class = "etudinfo" # css
# UE capitalisee dans semestre courant ?
cap = []
if etud["cursem"]:
@ -738,14 +739,16 @@ def _gen_form_saisie_groupe(
else:
capstr = ""
if etud["etatincursem"] == "D":
capstr += ' <span class="capstr"><b>(dém.)</b></span>'
capstr += ' <span class="capstr">(dém.)</span>'
etud_class += " etuddem"
tr_class = ("row_1", "row_2", "row_3")[i % 3]
td_matin_class = ("matin_1", "matin_2", "matin_3")[i % 3]
H.append(
'<tr class="%s"><td><b class="etudinfo" id="%s"><a class="discretelink" href="%s" target="new">%s</a></b>%s</td>'
'<tr class="%s"><td><b class="%s" id="%s"><a class="discretelink" href="%s" target="new">%s</a></b>%s</td>'
% (
tr_class,
etud_class,
etudid,
url_for("scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etudid),
etud["nomprenom"],

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.0.60"
SCOVERSION = "9.0.61"
SCONAME = "ScoDoc"