spectrogram, species stats, and log now have navigation bar

changed all POSTs to GET
This commit is contained in:
mcguirepr89
2022-04-15 12:01:46 -04:00
parent 8fbcae3012
commit aaeda89f14
14 changed files with 143 additions and 150 deletions
+2 -9
View File
@@ -46,7 +46,7 @@ if(isset($_GET['stream'])){
}
}
} else {
echo "
echo "
<form action=\"\" method=\"GET\">
<button type=\"submit\" name=\"stream\" value=\"play\">Live Audio</button>
</form>
@@ -54,13 +54,6 @@ if(isset($_GET['stream'])){
<h1><a href=\"\">BirdNET-Pi</a><img src=\"images/version.svg\"></h1>
</div>";
}
if(isset($_GET['log'])) {
if (file_exists('./scripts/thisrun.txt')) {
header("Location: /log");}
} elseif(isset($_GET['spectrogram'])){
header("Location: /spectrogram.php");
} else {
echo "
echo "
<iframe src=\"/views.php\">
</div>";
}