diff --git a/homepage/index.php b/homepage/index.php
index 8b8b87d..caccab9 100644
--- a/homepage/index.php
+++ b/homepage/index.php
@@ -1,10 +1,10 @@
+
-
-

-
+
+

+
";
if(isset($_GET['stream'])){
if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
$config = parse_ini_file('/home/pi/BirdNET-Pi/thisrun.txt');
@@ -21,8 +21,9 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
$submitteduser = $_SERVER['PHP_AUTH_USER'];
if($submittedpwd == $caddypwd && $submitteduser == 'birdnet'){
- echo "
-
";
+ echo "
+
+
";
} else {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
@@ -31,12 +32,13 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
}
}
} else {
- echo "
";
- echo "
";
+ echo "
+
+
+
";
}
-echo "";
if(isset($_GET['log'])) {
if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
$config = parse_ini_file('/home/pi/BirdNET-Pi/thisrun.txt');
@@ -61,5 +63,6 @@ if(isset($_GET['log'])) {
} elseif(isset($_GET['spectrogram'])){
header("Location: /spectrogram.php");
} else {
- echo "