forked from ScoDoc/ScoDoc
Partition editor : liens vers etu + bug non affect
This commit is contained in:
parent
fa911907ad
commit
c93ea8a0f1
@ -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;
|
||||
|
@ -123,7 +123,7 @@
|
||||
etudiants.forEach(etudiant => {
|
||||
output += `
|
||||
<div>
|
||||
<div class=nom data-etudid="${etudiant.etudid}" data-nom="${etudiant.nom_disp}" data-prenom="${etudiant.prenom}">${etudiant.nom_disp} ${etudiant.prenom}<div class=small>${etudiant.bac}</div></div>
|
||||
<div class=nom data-etudid="${etudiant.etudid}" data-nom="${etudiant.nom_disp}" data-prenom="${etudiant.prenom}"><a href="ficheEtud?etudid=${etudiant.etudid}">${etudiant.nom_disp} ${etudiant.prenom}</a><div class=small>${etudiant.bac}</div></div>
|
||||
${(() => {
|
||||
let output = "<div class=grpPartitions>";
|
||||
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 @@
|
||||
<div>${name}</div>
|
||||
<label title="Aucun groupe">
|
||||
<input type="radio" name="${r.id}-${etudid}" value="aucun" checked>
|
||||
<span class="aucun">❌</span>
|
||||
<span class="aucun">-</span>
|
||||
</label>
|
||||
`;
|
||||
div.querySelector("input").addEventListener("input", assignment);
|
||||
|
Loading…
Reference in New Issue
Block a user