species stats is streamlit

and old species stats is now "best recordings"
This commit is contained in:
mcguirepr89
2022-04-02 13:03:15 -04:00
parent 5896a44889
commit 00cd1beb25
+5 -1
View File
@@ -7,6 +7,9 @@
<form action="" method="POST" id="views">
<button type="submit" name="view" value="Today's Detections" form="views">Today's Detections</button>
</form>
<form action="" method="POST" id="views">
<button type="submit" name="view" value="Best Recordings" form="views">Best Recordings</button>
</form>
<form action="" method="POST" id="views">
<button type="submit" name="view" value="Species Stats" form="views">Species Stats</button>
</form>
@@ -38,7 +41,8 @@ if(isset($_POST['view'])){
if($_POST['view'] == "Spectrogram"){include('spectrogram.php');}
if($_POST['view'] == "Overview"){include('overview.php');}
if($_POST['view'] == "Today's Detections"){include('todays_detections.php');}
if($_POST['view'] == "Species Stats"){echo "<br><br>";include('stats.php');}
if($_POST['view'] == "Best Recordings"){echo "<br><br>";include('stats.php');}
if($_POST['view'] == "Species Stats"){header('location:/stats');}
if($_POST['view'] == "Daily Charts"){include('history.php');}
if($_POST['view'] == "Tools"){
if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {