From 5fa1048acea5b0794b03876bccdc23f1b5cbf88d Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Mon, 2 May 2022 09:39:14 -0400 Subject: [PATCH] Improvements to search, moving styles to .css --- homepage/style.css | 18 ++++++++++++++++++ scripts/todays_detections.php | 16 ++++++++++------ 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/homepage/style.css b/homepage/style.css index 618fb92..6469e1c 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -513,3 +513,21 @@ button:hover { padding:5px; border: 2px solid black; } +button.legacyview { + color:gray; + margin:5px; + float:right; + z-index:100; + position:relative; + font-size:small; + background:#dbffeb; + padding:5px; + border: 2px solid black; +} +button.loadmore { + margin-top:10px; + font-size:x-large; + background:#dbffeb; + padding:10px; + border: 2px solid black; +} diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 4b97c71..07e2dcd 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -112,7 +112,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { // don't show the button if there's no more detections to be displayed, we're at the end of the list if($iterations >= 40 && isset($_GET['display_limit']) && is_numeric($_GET['display_limit'])) { ?>