Correction design tableaux
This commit is contained in:
parent
1bf0141988
commit
d33f25ab24
|
@ -31,7 +31,7 @@
|
|||
table.basic{
|
||||
/* position */
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 0;
|
||||
|
||||
/* border */
|
||||
border-radius: 5px;
|
||||
|
@ -39,6 +39,8 @@ table.basic{
|
|||
/*box-shadow: 0 0 4px #e3e3e3;*/
|
||||
}
|
||||
|
||||
table.basic.margin{ margin-bottom: 1em; }
|
||||
|
||||
table.basic tr td,
|
||||
table.basic tr th,
|
||||
#DRAGNDROP td,
|
||||
|
@ -92,7 +94,6 @@ table.basic:nth-child(4n+3) tr:hover td{ background-color: rgba(45, 204, 112, 1)
|
|||
|
||||
|
||||
|
||||
|
||||
/******************/
|
||||
/*** PARAGRAPHS ***/
|
||||
/******************/
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
background: transparent url(../src/header/notifbar/member.svg) center center no-repeat;
|
||||
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
|
||||
$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 ".
|
||||
"WHERE note.id_appartenance = app.id_appartenance ".
|
||||
"AND note.id_programme = prog.id_programme ".
|
||||
|
@ -732,7 +732,7 @@ class DataBase{
|
|||
"AND prog.id_ue = :UEUID ".
|
||||
"AND app.id_etudiant = :etudiantUID ".
|
||||
"AND s.id_semestre = :semestreUID ".
|
||||
"ORDER BY note.valeur, note.base ASC");
|
||||
"ORDER BY m.nom, note.valeur, note.base ASC");
|
||||
$getUEList->execute(array(
|
||||
':UEUID' => $UEUID,
|
||||
':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
|
||||
|
||||
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( VoirPlus ); // on remet le "Voir plus"
|
||||
|
||||
// selectSection( document.querySelector('#MENU span[data-link=groups]') );
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
|||
echo '<tbody>';
|
||||
foreach($UE['notes'] as $note){
|
||||
echo '<tr>';
|
||||
echo '<td>'.$note['module'].'</td>';
|
||||
echo '<td>'.$note['intitule'].'</td>';
|
||||
echo '<td>'.$note['valeur'].'/'.$note['base'].'</td>';
|
||||
echo '</tr>';
|
||||
|
|
|
@ -46,7 +46,7 @@ require_once __ROOT__.'/manager/groups.php';
|
|||
|
||||
if( count($group->userlist) > 0 ){ // s'il y a des utilisateurs
|
||||
|
||||
echo "<table class='basic'>";
|
||||
echo "<table class='basic margin'>";
|
||||
|
||||
echo '<tbody>';
|
||||
|
||||
|
@ -202,7 +202,7 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'admin' ){ // si
|
|||
echo "<td>".$user['identifiant'].'</td>';
|
||||
echo '<td>'.$user['prenom'].'</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>';
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,10 @@ if( $_SESSION['identifiant'] != null && $_SESSION['droits'] == 'student' ){ // s
|
|||
echo '</tr>';
|
||||
echo '</thead>';
|
||||
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 '</table>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue