From 967b768e1ee12743868cde8d7738baf94801069a Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Mon, 5 Aug 2019 15:50:50 +0200 Subject: [PATCH] bootstrap --- wol/www/index.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/wol/www/index.php b/wol/www/index.php index 4335838..2597973 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>"; -- GitLab