A live bird collage card for your Home Assistant dashboard.
species stats is streamlit and old species stats is now "best recordings"
mcguirepr8900cd1beb25fb
diff --git a/homepage/views.php b/homepage/views.phpindex 1aba1830..95622e32 100644--- a/homepage/views.php+++ b/homepage/views.php@@ -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')) {