From 2af5879cc00eef5d259167e2d2d9e517e3b01402 Mon Sep 17 00:00:00 2001 From: heuzef Date: Thu, 9 May 2019 20:09:28 +0200 Subject: [PATCH] ajout du bouton d acces log --- ui/check_services.php | 7 ++----- ui/index.php | 12 ++++++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ui/check_services.php b/ui/check_services.php index a562dcd..b344c4f 100644 --- a/ui/check_services.php +++ b/ui/check_services.php @@ -21,9 +21,6 @@ $sonette_status[0]='danger'; $sonette_status[1]='light'; - exec("../scripts/check_services.sh >> allogg.log &"); - exec("sleep 3"); - ?> @@ -41,7 +38,7 @@ -

Interface de contrôle du module

+

Journal d'activité du module

@@ -62,10 +59,10 @@ echo '
'.$log.'
'; ?>

-
+
diff --git a/ui/index.php b/ui/index.php index 82201ee..694d694 100755 --- a/ui/index.php +++ b/ui/index.php @@ -148,7 +148,7 @@ if (isset($_POST['password']) && $_POST['password'] == 'heuzef') { -   +         @@ -169,11 +169,19 @@ if (isset($_POST['password']) && $_POST['password'] == 'heuzef') {

- + +

+ +
+

+ + + +