boutons pour admin seulement
This commit is contained in:
parent
eb82c33bb8
commit
3bce475591
@ -114,12 +114,14 @@ if ($admin or $supervis) {
|
|||||||
|
|
||||||
$info_cours = ' <a href="../salles_live.php">[retour]</a>';
|
$info_cours = ' <a href="../salles_live.php">[retour]</a>';
|
||||||
echo("<h3>Salle ".$salle.$info_cours."</h3>");
|
echo("<h3>Salle ".$salle.$info_cours."</h3>");
|
||||||
|
if ($admin) {
|
||||||
$form ='<form action="../stop.php" method="POST">';
|
$form ='<form action="../stop.php" method="POST">';
|
||||||
//$form = $form.'<input type="submit" value="fermer toutes les sessions" name="stop">';
|
//$form = $form.'<input type="submit" value="fermer toutes les sessions" name="stop">';
|
||||||
$form = $form.'<input type="submit" value="redémarrer toute la salle" name="stop"><input type="submit" value="éteindre toute la salle" name="stop">';
|
$form = $form.'<input type="submit" value="redémarrer toute la salle" name="stop"><input type="submit" value="éteindre toute la salle" name="stop">';
|
||||||
$form = $form.'<input type="hidden" name="host" value=\''.$host_json.'\'>';
|
$form = $form.'<input type="hidden" name="host" value=\''.$host_json.'\'>';
|
||||||
$form = $form.'</form>';
|
$form = $form.'</form>';
|
||||||
echo $form;
|
echo $form;
|
||||||
|
}
|
||||||
echo("<p><span class='conn'>bleu</span> : connecté <span class='pc'>gris</span> : inactif <span class='j10'>jaune</span> : inactif 10j <span class='j20'>orange</span> : inactif 20j <span class='j30'>rouge</span> : inactif 30j</p>");
|
echo("<p><span class='conn'>bleu</span> : connecté <span class='pc'>gris</span> : inactif <span class='j10'>jaune</span> : inactif 10j <span class='j20'>orange</span> : inactif 20j <span class='j30'>rouge</span> : inactif 30j</p>");
|
||||||
Affiche_plan_salle($machines_du_plan, $portes);
|
Affiche_plan_salle($machines_du_plan, $portes);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user