Skip to content
Snippets Groups Projects
Verified Commit 967b768e authored by David Beniamine's avatar David Beniamine
Browse files

bootstrap

parent 2a83c155
Branches
No related tags found
No related merge requests found
......@@ -16,12 +16,16 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<div id="box" style="font-size:large">
<div id="box" class="container" style="font-size:large">
<div id="content">
<h1> Interface de gestion des postes </h1>
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
......@@ -31,7 +35,6 @@ extract($_POST);
if(!isset($action)){
$lines=explode(PHP_EOL, shell_exec("../scripts/get_registry.sh"));
?>
<h1> Interface de gestion des postes </h1>
<p> <?php echo count($lines); ?> postes sont inscrits sur ce serveur </p>
<h2> Actions globables </h2>
<form action="index.php" method="post">
......@@ -44,7 +47,7 @@ if(!isset($action)){
</form>
<h2> Gestion des postes </h2>
<table>
<table class="table-striped table-bordered table-hover">
<tr>
<th>Nom</th>
<th>IP(s)</th>
......@@ -111,6 +114,7 @@ if(!isset($action)){
<?php
}else{
echo "<h2> Action en cours </h2>";
switch($action){
case "wake" :
echo "<div id='result'><p>Démarrage demandé pour la machine $mac, veuillez patienter</p></div>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment