From 8f02cf3a8a39d17b8a74c29b383a9156d8f4146a Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Sun, 7 Jun 2020 12:48:25 -0500 Subject: removed text fields and buttons upon successful completion of web commissioning --- www/commission/index.php | 49 +++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/www/commission/index.php b/www/commission/index.php index 10e044e..fda4e97 100644 --- a/www/commission/index.php +++ b/www/commission/index.php @@ -19,6 +19,7 @@ $status = 0; $save_password = ""; $reset = ""; $userok = 0; +$formdisplay = true; // Define variables and initialize with empty values $username = $password = $save_password = ""; $username_err = $password_err = $confirm_password_err = ""; @@ -197,6 +198,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ if ($status == 0) { $finished = "Commissioning Complete"; + $formdisplay = false; $password_err = $result2; $username_err = $result; // Disable commissioning @@ -263,29 +265,30 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){

- -
" method="post"> - -
- - -

- -

-
-
- - -

- -

-
-

-
- - -
-
+
style="display:none"> +
" method="post"> + +
+ + +

+ +

+
+
+ + +

+ +

+
+

+
+ + +
+
+
-- cgit v1.2.3