Commit de corrections mineures

This commit is contained in:
xdrm-brackets 2015-10-22 13:50:56 +02:00
parent ab992af2b4
commit b4e2299d01
5 changed files with 45 additions and 162 deletions

19
css/font.css Normal file
View File

@ -0,0 +1,19 @@
/*@font-face{
font-family: 'Ubuntu';
font-weight: 300;
src: url(../font/light.ttf);
}
@font-face{
font-family: 'Ubuntu';
font-weight: 400;
src: url(../font/regular.ttf);
}
@font-face{
font-family: 'Ubuntu';
font-weight: 500;
src: url(../font/medium.ttf);
}
*{ font-family: 'Ubuntu'; font-weight: 300; }*/

View File

@ -43,12 +43,12 @@ $notifNotifNum = 5;
<meta name='desctiption' content="Système d'Information du Département Informatique" > <meta name='desctiption' content="Système d'Information du Département Informatique" >
<!-- Dépendences CSS --> <!-- Dépendences CSS -->
<link type='text/css' rel='stylesheet' href='css/font.css' /> <!-- Positionnement global des pages -->
<link type='text/css' rel='stylesheet' href='css/layout.css' /> <!-- Positionnement global des pages --> <link type='text/css' rel='stylesheet' href='css/layout.css' /> <!-- Positionnement global des pages -->
<link type='text/css' rel='stylesheet' href='css/header.css' /> <!-- Gestion du header --> <link type='text/css' rel='stylesheet' href='css/header.css' /> <!-- Gestion du header -->
<link type='text/css' rel='stylesheet' href='css/container.css'/> <!-- Gestion du container --> <link type='text/css' rel='stylesheet' href='css/container.css'/> <!-- Gestion du container -->
<link type='text/css' rel='stylesheet' href='css/menu.css' /> <!-- Gestion du menu --> <link type='text/css' rel='stylesheet' href='css/menu.css' /> <!-- Gestion du menu -->
<link type='text/css' rel='stylesheet' href='css/global.css' /> <!-- Style global --> <link type='text/css' rel='stylesheet' href='css/global.css' /> <!-- Style global -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<!-- Dépendences Javascript --> <!-- Dépendences Javascript -->

View File

@ -292,9 +292,8 @@ initForm( // initialisation du formulaire de connection
request.level_1 = (connected) ? 'exit' : 'authentification'; request.level_1 = (connected) ? 'exit' : 'authentification';
API.send(request, function(response){ API.send(request, function(response){
if( response.request == 'success' ){// si connection ok if( response.request == 'success' )// si connection ok
document.location = ''; document.location = '';
}
}); });
} }
); );

View File

@ -6,140 +6,39 @@
* * * *
***************************************** *****************************************
* *
* [1] Mon Groupe (studend + prof) * [1] Présentation (studend + prof)
* [2] Tout les groupes (tous connecté) * [2] Tout les groupes (tous connecté)
* [3] Modifier les groupes (admin) * [3] Modifier les groupes (admin)
* [4] Répartir les élèves (admin) * [4] Répartir les élèves (admin)
* *
*****************************************/ *****************************************/
?>
/* [1] Mon Groupe (eleve) <section name='all' title='tous les groupes'>
============================================*/ <?php if( $_SESSION['username'] != null ){
if( $_SESSION['permissions'] == 'student' ){ ?>
<hgroup class='active'>Mon Groupe</hgroup>
<section>
<table> for($a = 0 ; $a < 10 ; $a++)
<thead> echo $a.'<br>';
<tr> } ?>
<th>Nom</th>
<th>Prénom</th>
<th>Blablabla</th>
</tr>
</thead>
<tbody>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
</tbody>
</table>
</section>
<?php } ?>
<?php if( $_SESSION['permissions'] == 'teacher' ){ ?>
<hgroup class='active'>Mes Groupe</hgroup>
<section>
<table>
<thead>
<tr>
<th>Nom du groupe</th>
<th>Nombre d'élèves</th>
<th>Nombre de modules</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>30</td>
<td>2</td>
</tr>
<tr>
<td>B</td>
<td>28</td>
<td>3</td>
</tr>
<tr>
<td>D</td>
<td>32</td>
<td>1</td>
</tr>
<tr>
<td>F</td>
<td>21</td>
<td>2</td>
</tr>
</tbody>
</table>
</section>
<?php } ?>
<hgroup>Tout les groupes</hgroup>
<section>
Tout les groupes<br/>
bla<br/>
bla<br/>
</section> </section>
<section name='groups' title='Groupes'>
Groupes
</section>
<hgroup>Mon Groupe 2</hgroup>
<section> <section name='case' title='Suivi'>
Mon Groupe 2<br/> Suivi
bla<br/> </section>
bla<br/>
<section name='modules' title='Modules'>
Modules
</section>
<section name='marks' title='Notes'>
Notes
</section>
<section name='settings' title='Paramètres'>
Paramètres
</section> </section>

View File

@ -16,41 +16,7 @@
?> ?>
<section name='home' title='Accueil'> <section name='home' title='Accueil'>
Accueilqsd<br><br>sd a
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
Accueilqsd<br><br>sd
</section> </section>
<section name='groups' title='Groupes'> <section name='groups' title='Groupes'>