From c23c661fa74f709668adc741de1ea787faa56246 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Fri, 20 Jan 2023 14:37:41 -0500 Subject: [PATCH] issue #704 --- homepage/style.css | 1 + scripts/todays_detections.php | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/homepage/style.css b/homepage/style.css index fc9a93a..b152515 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -576,6 +576,7 @@ button:hover { } button.legacyview { + display: none; color:gray; margin:5px; float:right; diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 558bba5..280c5c4 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -350,7 +350,28 @@ die(); }

Number of Detections

-
+
+ + + + + + + + + + + + + + + + + + + + +
TotalTodayLast HourUnique Species TotalUnique Species Today

Today's Detections

@@ -427,6 +448,7 @@ function searchDetections(searchvalue) { function loadDetections(detections_limit, element=undefined) { const xhttp = new XMLHttpRequest(); xhttp.onload = function() { + document.getElementsByClassName("legacyview")[0].style.display="unset"; if(typeof element !== "undefined") { element.remove();