From a9807154bcd4d88767fc7f92c1d0509a0c66ce56 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Fri, 19 Jul 2024 21:42:16 +0200 Subject: [PATCH] improve response webui --- templates/index.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/templates/index.html b/templates/index.html index aa1e433..fa13692 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,18 +12,18 @@ background-color: #f0f2f5; background-image: radial-gradient(#7c7c7c 1px, rgba(0, 0, 0, 0) 1px); background-size: 20px 20px; - font-family: 'Google Sans', sans-serif; /* Apply Google Sans font to the entire page */ + font-family: 'Google Sans', sans-serif; } - + -
+
-
+

Upload Image for ALPR

@@ -43,7 +43,7 @@

Response

-

+            

         
@@ -69,7 +69,6 @@ } } - // Check for dark mode and switch logo accordingly const prefersDarkScheme = window.matchMedia("(prefers-color-scheme: dark)"); function toggleLogo() { const logo = document.getElementById('logo'); @@ -83,10 +82,7 @@ } } - // Initial call to set logo based on dark mode preference toggleLogo(); - - // Listen for changes in dark mode preference prefersDarkScheme.addEventListener('change', toggleLogo); $(document).ready(function () {