forked from ScoDoc/DocScoDoc
Merge pull request 'Partition editor : liens vers etu + bug non affect' (#596) from lehmann/ScoDoc-Front:master into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/596
This commit is contained in:
commit
c39c622104
@ -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