diff --git a/wol/www/index.php b/wol/www/index.php index 4335838498bf14f95364ade2a72c837c8a7d18de..2597973b4981d709489f868631f7ef89c6bc0e58 100644 --- a/wol/www/index.php +++ b/wol/www/index.php @@ -15,13 +15,17 @@ - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. --> - <head> -<script src="jquery-3.3.1.min.js"></script> +<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>";