Correction design tableaux
This commit is contained in:
parent
1bf0141988
commit
d33f25ab24
|
@ -31,7 +31,7 @@
|
||||||
table.basic{
|
table.basic{
|
||||||
/* position */
|
/* position */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 0;
|
||||||
|
|
||||||
/* border */
|
/* border */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
@ -39,6 +39,8 @@ table.basic{
|
||||||
/*box-shadow: 0 0 4px #e3e3e3;*/
|
/*box-shadow: 0 0 4px #e3e3e3;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.basic.margin{ margin-bottom: 1em; }
|
||||||
|
|
||||||
table.basic tr td,
|
table.basic tr td,
|
||||||
table.basic tr th,
|
table.basic tr th,
|
||||||
#DRAGNDROP td,
|
#DRAGNDROP td,
|
||||||
|
@ -92,7 +94,6 @@ table.basic:nth-child(4n+3) tr:hover td{ background-color: rgba(45, 204, 112, 1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************/
|
/******************/
|
||||||
/*** PARAGRAPHS ***/
|
/*** PARAGRAPHS ***/
|
||||||
/******************/
|
/******************/
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
background: transparent url(../src/header/notifbar/member.svg) center center no-repeat;
|
background: transparent url(../src/header/notifbar/member.svg) center center no-repeat;
|
||||||
background-size: 40% auto;
|
background-size: 40% auto;
|
||||||
|
|
||||||
cursor: default;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -722,7 +722,7 @@ class DataBase{
|
||||||
|
|
||||||
|
|
||||||
// si on a l'UID utilisateur & l'UID UE => on récupère les notes
|
// si on a l'UID utilisateur & l'UID UE => on récupère les notes
|
||||||
$getUEList = $this->pdo->prepare("SELECT note.intitule, note.valeur, note.base ".
|
$getUEList = $this->pdo->prepare("SELECT m.nom as module, note.intitule, note.valeur, note.base ".
|
||||||
"FROM note, appartenance as app, programme as prog, semestre as s, module as m ".
|
"FROM note, appartenance as app, programme as prog, semestre as s, module as m ".
|
||||||
"WHERE note.id_appartenance = app.id_appartenance ".
|
"WHERE note.id_appartenance = app.id_appartenance ".
|
||||||
"AND note.id_programme = prog.id_programme ".
|
"AND note.id_programme = prog.id_programme ".
|
||||||
|
@ -732,7 +732,7 @@ class DataBase{
|
||||||
"AND prog.id_ue = :UEUID ".
|
"AND prog.id_ue = :UEUID ".
|
||||||
"AND app.id_etudiant = :etudiantUID ".
|
"AND app.id_etudiant = :etudiantUID ".
|
||||||
"AND s.id_semestre = :semestreUID ".
|
"AND s.id_semestre = :semestreUID ".
|
||||||
"ORDER BY note.valeur, note.base ASC");
|
"ORDER BY m.nom, note.valeur, note.base ASC");
|
||||||
$getUEList->execute(array(
|
$getUEList->execute(array(
|
||||||
':UEUID' => $UEUID,
|
':UEUID' => $UEUID,
|
||||||
':etudiantUID' => $etudiantUID,
|
':etudiantUID' => $etudiantUID,
|
||||||
|
|
|
@ -69,10 +69,7 @@ if( document.querySelector('#CONTAINER section[name=movestudents]') != null ){ /
|
||||||
input.parentNode.removeChild( input ); // on supprime le membre de l'ancien groupe
|
input.parentNode.removeChild( input ); // on supprime le membre de l'ancien groupe
|
||||||
|
|
||||||
var tableauDestination = output.parentNode.parentNode.parentNode.children[1]; // <tbody> destination
|
var tableauDestination = output.parentNode.parentNode.parentNode.children[1]; // <tbody> destination
|
||||||
|
|
||||||
var VoirPlus = tableauDestination.removeChild( tableauDestination.lastChild ); // on supprime le "Voir plus"
|
|
||||||
tableauDestination.appendChild( input ); // on ajoute le membre au nouveau groupe
|
tableauDestination.appendChild( input ); // on ajoute le membre au nouveau groupe
|
||||||
tableauDestination.appendChild( VoirPlus ); // on remet le "Voir plus"
|
|
||||||
|
|
||||||
// selectSection( document.querySelector('#MENU span[data-link=groups]') );
|
// selectSection( document.querySelector('#MENU span[data-link=groups]') );
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,6 +104,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
||||||
echo '<tbody>';
|
echo '<tbody>';
|
||||||
foreach($UE['notes'] as $note){
|
foreach($UE['notes'] as $note){
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
|
echo '<td>'.$note['module'].'</td>';
|
||||||
echo '<td>'.$note['intitule'].'</td>';
|
echo '<td>'.$note['intitule'].'</td>';
|
||||||
echo '<td>'.$note['valeur'].'/'.$note['base'].'</td>';
|
echo '<td>'.$note['valeur'].'/'.$note['base'].'</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
|
|
|
@ -46,7 +46,7 @@ require_once __ROOT__.'/manager/groups.php';
|
||||||
|
|
||||||
if( count($group->userlist) > 0 ){ // s'il y a des utilisateurs
|
if( count($group->userlist) > 0 ){ // s'il y a des utilisateurs
|
||||||
|
|
||||||
echo "<table class='basic'>";
|
echo "<table class='basic margin'>";
|
||||||
|
|
||||||
echo '<tbody>';
|
echo '<tbody>';
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'admin' ){ // si
|
||||||
echo "<td>".$user['identifiant'].'</td>';
|
echo "<td>".$user['identifiant'].'</td>';
|
||||||
echo '<td>'.$user['prenom'].'</td>';
|
echo '<td>'.$user['prenom'].'</td>';
|
||||||
echo '<td>'.$user['nom'].'</td>';
|
echo '<td>'.$user['nom'].'</td>';
|
||||||
echo '<td>Groupe <strong><span>'.$group->nom.'</span></strong></td>';
|
echo '<td><strong><span>'.$group->nom.'</span></strong></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,10 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo '</thead>';
|
echo '</thead>';
|
||||||
echo '<tbody>';
|
echo '<tbody>';
|
||||||
echo '<tr><td>'.$module['libelle'].'</td></tr>';
|
echo '<tr>';
|
||||||
|
echo '<td>'.$module['nom'].'</td>';
|
||||||
|
echo '<td>'.$module['libelle'].'</td>';
|
||||||
|
echo '</tr>';
|
||||||
echo '</tbody>';
|
echo '</tbody>';
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue