From aa5068bbe9fe68d64540d43674efa1e3108e8bed Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Wed, 25 Jan 2023 21:21:23 -0300 Subject: [PATCH 1/4] Using a new function to retrieve CSS values from classes - create a new function to access CSS values, even if not directly used on the page; - remove the empty harcoded HTML `` placeholders used only to source the colors from CSS classes Signed-off-by: RD WebDesign --- db_graph.php | 5 ----- db_lists.php | 4 ---- index.php | 5 ----- scripts/pi-hole/js/db_graph.js | 8 ++++---- scripts/pi-hole/js/index.js | 8 ++++---- scripts/pi-hole/js/utils.js | 8 ++++++++ 6 files changed, 16 insertions(+), 22 deletions(-) diff --git a/db_graph.php b/db_graph.php index 613e2891..2b058345 100644 --- a/db_graph.php +++ b/db_graph.php @@ -10,11 +10,6 @@ require 'scripts/pi-hole/php/header_authenticated.php'; ?> - - - - -