1
0
forked from ScoDoc/ScoDoc

ordre dans css

This commit is contained in:
Emmanuel Viennet 2022-02-12 15:04:01 +01:00
parent 718dbd8801
commit 02264c3fbb

View File

@ -367,7 +367,9 @@ def get_logo(name: str, dept_id: int):
@bp.route("/ScoDoc/ue_colors_css/<int:formation_id>/<int:semestre_idx>")
def ue_colors_css(formation_id: int, semestre_idx: int):
"""Feuille de style pour les couleurs d'UE"""
ues = UniteEns.query.filter_by(formation_id=formation_id, semestre_idx=semestre_idx)
ues = UniteEns.query.filter_by(
formation_id=formation_id, semestre_idx=semestre_idx
).order_by(UniteEns.numero)
txt = (
":root{\n"
+ "\n".join(