From 73072ff3e7070c6a0fbbe5e4f6a77e6e8357842d Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Sun, 3 Apr 2022 09:46:14 -0400 Subject: [PATCH] fixed species stats buttons --- homepage/views.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homepage/views.php b/homepage/views.php index 95622e3..ca94810 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -8,10 +8,10 @@
- +
- +
@@ -41,8 +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'] == "Best Recordings"){echo "

";include('stats.php');} - if($_POST['view'] == "Species Stats"){header('location:/stats');} + if($_POST['view'] == "Species Stats"){echo "

";include('stats.php');} + if($_POST['view'] == "Streamlit"){header('location:/stats');} if($_POST['view'] == "Daily Charts"){include('history.php');} if($_POST['view'] == "Tools"){ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {