diff --git a/homepage/style.css b/homepage/style.css index ed9f3b5..75ebee6 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -254,12 +254,7 @@ body::-webkit-scrollbar { } @media screen and (max-width: 700px) { - .topnav { - margin-left:auto; - margin-right:auto; - } .topnav button {display: none;} - /*.topnav button:not(:first-child) {display: none;}*/ .topnav button.icon { padding: 0; margin: 0; diff --git a/homepage/views.php b/homepage/views.php index 4fd55b5..be83552 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -3,10 +3,20 @@
+
+
+
+
+
+
+
+
+
+
@@ -20,7 +30,8 @@
- + + diff --git a/scripts/system_controls.php b/scripts/system_controls.php index b498c04..c2f1841 100644 --- a/scripts/system_controls.php +++ b/scripts/system_controls.php @@ -1,103 +1,43 @@ - - - -
-
- - - - -
- - -
-
- - -
-
- - -
-
-
Updating . . . -

Please wait 60 seconds

"; - echo str_pad($str, 4096); - ob_flush(); - flush(); -} -if(isset($command)){ -$results = shell_exec("$command 2>&1"); -echo "
-
-
$results
"; -} + $command = $_POST['submit']; + if($command == 'update_birdnet.sh'){ + $str= "

Updating . . .

+

Please wait 60 seconds

"; + echo str_pad($str, 4096); + ob_flush(); + flush(); + } + if(isset($command)){ + $results = shell_exec("$command 2>&1"); + echo "
+
+
$results
"; + } } ob_end_flush(); ?> - + + + + +
+ + + + + +
+
+ + +
+
+ + +