From 60974019aa44df4b5471e05104fdbde875b89886 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Thu, 11 Apr 2024 10:55:55 +0200 Subject: [PATCH] 13419-Fix text color in Agents/alert view dark theme --- pandora_console/include/class/AgentsAlerts.class.php | 2 +- pandora_console/include/styles/pandora.css | 1 + pandora_console/include/styles/pandora_black.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/AgentsAlerts.class.php b/pandora_console/include/class/AgentsAlerts.class.php index 87e24df349..68685adff8 100644 --- a/pandora_console/include/class/AgentsAlerts.class.php +++ b/pandora_console/include/class/AgentsAlerts.class.php @@ -685,7 +685,7 @@ class AgentsAlerts extends HTML $alias = db_get_row('tagente', 'id_agente', $agent['id_agente']); echo ''; // Name of the agent. - echo ''.$alias['alias'].''; + echo ''.$alias['alias'].''; // Alerts of the agent. foreach ($templates as $tid => $tname) { $anyfired = 0; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 0d5d315415..f746c0b0c8 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -35,6 +35,7 @@ --text-color: #333; --text-color-2: #161628; --text-color-3: #454545; + --text-color-4: #3f3f3f; --background-main-color: #f6f7fb; diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index f6c8724f2b..628ba95aa0 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -28,6 +28,7 @@ Description: The default Pandora FMS theme layout --text-color: #fff; --text-color-2: #ededed; --text-color-3: #d5d5d5; + --text-color-4: #dddddd; --background-main-color: #f6f7fb; --background-2: #95a3bf;