From 297dd285b58077d910830bdd5dd048488150c446 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Mon, 26 Aug 2019 15:16:06 +0200 Subject: [PATCH] Fix bad responsive table --- wol/www/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wol/www/index.php b/wol/www/index.php index 258e75e..fbc6c97 100644 --- a/wol/www/index.php +++ b/wol/www/index.php @@ -24,6 +24,7 @@ <script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script> </head> +<body> <div id="box" class="container" style="font-size:large"> @@ -69,8 +70,8 @@ if(!isset($action)){ <br /> Cliquer une deuxième fois inverser l'ordre de tri. </p> - <div class="table-responsive"> - <table class="table-striped table-bordered table-hover" style="text-align:center;"> + <div class="col-sm-12"> + <table class="table table-striped table-bordered table-hover" style="text-align:center;"> <thead> <tr> <th style="text-align:center;" data-sort="string" data-sort-onload="yes" >Nom</th> @@ -163,6 +164,7 @@ if(!isset($action)){ "infoFiltered": "(filtré sur _MAX_ entrées)", "infoPostFix": "", "thousands": ",", + "scrollX": true, "lengthMenu": "Montrer _MENU_ entrées", "loadingRecords": "Chargement...", "processing": "Traitement encours...", @@ -183,7 +185,6 @@ if(!isset($action)){ }); </script> </div> - <?php }else{ if(!isset($name)){ @@ -250,3 +251,4 @@ if(!isset($action)){ ?> </div> </div> +</body> -- GitLab