From c93ea8a0f1c9b2f7b5c80696b7747754d184548a Mon Sep 17 00:00:00 2001 From: lehmann Date: Sat, 11 Feb 2023 14:09:11 +0100 Subject: [PATCH] Partition editor : liens vers etu + bug non affect --- app/static/css/partition_editor.css | 9 ++++++++- app/templates/scolar/partition_editor.j2 | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/static/css/partition_editor.css b/app/static/css/partition_editor.css index 3d7140e4..edf06108 100644 --- a/app/static/css/partition_editor.css +++ b/app/static/css/partition_editor.css @@ -384,7 +384,14 @@ body.editionActivated .filtres .nonEditable .move{ #zoneChoix .etudiants .nom { flex: 1; } - +#zoneChoix a { + color: #000; + text-decoration: none; +} +#zoneChoix a:hover{ + text-decoration: underline; + color: #09c; +} #zoneChoix .small { color: #444; font-size: 8px; diff --git a/app/templates/scolar/partition_editor.j2 b/app/templates/scolar/partition_editor.j2 index f98e0987..9695f51f 100644 --- a/app/templates/scolar/partition_editor.j2 +++ b/app/templates/scolar/partition_editor.j2 @@ -123,7 +123,7 @@ etudiants.forEach(etudiant => { output += `
-
${etudiant.nom_disp} ${etudiant.prenom}
${etudiant.bac}
+ ${(() => { let output = "
"; arrayPartitions.forEach((partition) => { @@ -360,7 +360,7 @@ if(to[0] != "n"){ groupeSelected.closest(".grpPartitions").querySelector(`[value="${to}"]`).click(); }else{ - groupeSelected.closest(".grpPartitions").querySelector(".aucun").click(); + groupeSelected.closest(".grpPartitions").querySelector(`[value="aucun"]`).click(); } }) @@ -478,7 +478,7 @@
${name}
`; div.querySelector("input").addEventListener("input", assignment);