diff --git a/css/container.css b/css/container.css index 2f84544..d0cdf69 100755 --- a/css/container.css +++ b/css/container.css @@ -23,6 +23,12 @@ /* STYLE "BASIC" DES TABLEAUX */ table.basic{ + /* position */ + float: left; + margin: 1em; + + + /* border */ border-radius: 5px; border-spacing: 0; diff --git a/css/font.css b/css/font.css old mode 100644 new mode 100755 diff --git a/css/layout.css b/css/layout.css index a23a697..4a41fc0 100755 --- a/css/layout.css +++ b/css/layout.css @@ -287,6 +287,7 @@ body{ /* quand on a la souris sur le bouton */ +#AUTH input[type=button]:focus, #AUTH input[type=button]:hover{ background-color: #3dcc70; color: #fff; diff --git a/index.php b/index.php index b23d0b4..b9dae9a 100755 --- a/index.php +++ b/index.php @@ -1,4 +1,8 @@ - \ No newline at end of file diff --git a/page/groups.php b/page/groups.php index d6374ad..e01a495 100755 --- a/page/groups.php +++ b/page/groups.php @@ -1,4 +1,6 @@ - -
+ + +
level_1 = 'grouplist'; + + groups_switch_level_1($request, $answer); + + foreach($answer->grouplist as $group){ // pour chaque groupe + + if( count($group->userlist) > 0 ){ // s'il y a des utilisateurs + + echo ""; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; - echo "
Groupe '.$group->nom.'
PseudoPrénomNomemaildroits
"; - // TITRES - echo ''; - foreach($userlist[0] as $key=>$value) - echo ''; - echo ''; + echo ''; + // pour chaque utilisateur + foreach($group->userlist as $user){ + echo ''; + foreach($user as $key=>$value) + echo ''; + echo ''; + } + echo ''; - // CONTENU - echo ''; - foreach($userlist as $eleve){ - echo ''; + echo '
'.$key.'
'.$value.'
'; - foreach($eleve as $value) - echo ''.$value.''; - - echo ''; } - echo ''; - - echo ''; + } + } ?>
diff --git a/src/close.svg b/src/close.svg old mode 100644 new mode 100755 diff --git a/src/header/logout.svg b/src/header/logout.svg old mode 100644 new mode 100755 diff --git a/src/header/logout@hover.svg b/src/header/logout@hover.svg old mode 100644 new mode 100755 diff --git a/src/menu/userdata/visitor.svg b/src/menu/userdata/visitor.svg old mode 100644 new mode 100755 diff --git a/src/userlistSample.json b/src/userlistSample.json old mode 100644 new mode 100755 diff --git a/test.php b/test.php old mode 100644 new mode 100755 index 24d2719..cbad36f --- a/test.php +++ b/test.php @@ -1,4 +1,4 @@ -level_1 = 'create'; - // $request->username = 'mrd1609a'; - // $request->prenom = 'adrien'; - // $request->nom = 'ligou marques'; - // $request->email = 'adrien.marques-ligou@etu.iut-tlse3.fr'; + // $request->username = 'fvg1856a'; + // $request->prenom = 'guillaume'; + // $request->nom = 'fauvet'; + // $request->email = 'guillaume.fauvet@etu.iut-tlse3.fr'; // $request->password = ' Test_Password _'; // $request->droits = 'student'; @@ -70,15 +70,15 @@ /*** AJOUT D'UN UTILISATEUR À UN GROUPE ***/ - - // require('manager/groups.php'); + + // require __ROOT__.'/manager/groups.php'; // $request = new stdClass(); // $answer = new stdClass(); // $request->level_1 = 'add'; - // $request->utilisateur = 'mrd1609a'; // utilisateur.username - // $request->groupe = 'E'; // groupe.nom + // $request->utilisateur = 'fvg1856a'; // utilisateur.username + // $request->groupe = 'A'; // groupe.nom // groups_switch_level_1($request, $answer); @@ -134,25 +134,25 @@ /*** AFFICHER LES MEMBRES DE TOUS LES GROUPES ***/ - require('manager/groups.php'); + // require('manager/groups.php'); - $request = new stdClass(); - $answer = new stdClass(); + // $request = new stdClass(); + // $answer = new stdClass(); - $request->level_1 = 'grouplist'; + // $request->level_1 = 'grouplist'; - groups_switch_level_1($request, $answer); + // groups_switch_level_1($request, $answer); - var_dump( $answer ); - echo '



'; + // var_dump( $answer ); + // echo '



'; - foreach($answer->grouplist as $group) - foreach($group as $userlist) - foreach($userlist as $user) - foreach($user as $key=>$value) - echo $key.' = '.$value.'
'; + // foreach($answer->grouplist as $group) + // foreach($group as $userlist) + // foreach($userlist as $user) + // foreach($user as $key=>$value) + // echo $key.' = '.$value.'
'; - echo "






It works !"; + // echo "






It works !"; diff --git a/xdoc/Cahier Des Charges Fonctionnel.pdf b/xdoc/Cahier Des Charges Fonctionnel.pdf old mode 100644 new mode 100755