forked from ScoDoc/ScoDoc
Modif css ue color var name
This commit is contained in:
parent
e7a97919b4
commit
b28d22b3ed
@ -374,7 +374,7 @@ def ue_colors_css(formation_id: int, semestre_idx: int):
|
|||||||
":root{\n"
|
":root{\n"
|
||||||
+ "\n".join(
|
+ "\n".join(
|
||||||
[
|
[
|
||||||
f"--color-UE{semestre_idx}.{ue_idx+1}: {ue.color};"
|
f"--color-UE{semestre_idx}-{ue_idx+1}: {ue.color};"
|
||||||
for ue_idx, ue in enumerate(ues)
|
for ue_idx, ue in enumerate(ues)
|
||||||
if ue.color
|
if ue.color
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user