fusion de Remote v1.4

This commit is contained in:
Jérôme Bousquié
2018-11-21 09:11:34 +01:00
parent 1c32685ce9
commit e71efc6638
23 changed files with 221 additions and 137 deletions

View File

@@ -37,6 +37,9 @@ $ram = $machine[10];
$procSpeed = $machine[11];
$diskSize = $machine[12];
$freeSpace = $machine[13];
$mac_json = json_encode(array($mac_addr));
?>
<!DOCTYPE HTML>
<html lang="fr">
@@ -79,9 +82,13 @@ $freeSpace = $machine[13];
?>
<form action="stop.php" method="POST">
<input type="hidden" name="host" value='<?php echo($host_json); ?>'>
<input type="hidden" name="mac" value='<?php echo($mac_json); ?>'>
<!--<input type="submit" value="fermer la session" name="stop">-->
<input type="submit" value="redémarrer cette machine" name="stop">
<input type="submit" value="éteindre cette machine" name="stop">
<input type="submit" value="allumer cette machine" name="stop">
<input type="submit" value="start processus distant" name="stop">
<input type="submit" value="stop processus distant" name="stop">
</form>
<br/>
<?php