From 00cd1beb25fb7121db04fd2b02eac88ca11622dd Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Sat, 2 Apr 2022 13:03:15 -0400 Subject: [PATCH] species stats is streamlit and old species stats is now "best recordings" --- homepage/views.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homepage/views.php b/homepage/views.php index 1aba183..95622e3 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -7,6 +7,9 @@
+
+ +
@@ -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 "

";include('stats.php');} + if($_POST['view'] == "Best Recordings"){echo "

";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')) {