From af0d311e1cb9daba44fd0b58d03518ea1ddf84c9 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 17 Oct 2023 09:40:50 +0200 Subject: [PATCH] #10194 fixed black theme --- .../lib/TacticalView/elements/Overview.php | 2 +- .../include/styles/pandora_black.css | 13 + pandora_console/views/tacticalView/view.php | 704 +++++++++--------- 3 files changed, 367 insertions(+), 352 deletions(-) diff --git a/pandora_console/include/lib/TacticalView/elements/Overview.php b/pandora_console/include/lib/TacticalView/elements/Overview.php index 233ab34559..1e9534b652 100644 --- a/pandora_console/include/lib/TacticalView/elements/Overview.php +++ b/pandora_console/include/lib/TacticalView/elements/Overview.php @@ -248,7 +248,7 @@ class Overview extends Element foreach ($data as $key => $value) { $output .= html_print_div( [ - 'content' => '
'.$value['label'], + 'content' => '
'.$value['label'].'', 'class' => 'label', ], true diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index bc861bd8f9..c2afb2c737 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1858,3 +1858,16 @@ a.pandora_pagination, #modal_help::before { border-bottom: 8px solid #222222; } +#general-tactical-view .message-welcome, +#general-tactical-view .subtitle, +#general-tactical-view .text-l, +#general-tactical-view .text-xl, +#general-tactical-view .status-text { + color: white !important; +} +#general-tactical-view .marks .line { + background-color: #ffffff33; +} +#general-tactical-view #horizontalBar .labels .label span { + color: black; +} diff --git a/pandora_console/views/tacticalView/view.php b/pandora_console/views/tacticalView/view.php index 5b60884e62..7d187e6de0 100644 --- a/pandora_console/views/tacticalView/view.php +++ b/pandora_console/views/tacticalView/view.php @@ -1,387 +1,389 @@ -
- - -
+
+
+ + +
-
-
-
-
-
- title; ?> +
+
+
+
+
+ title; ?> +
+
+
+
+
+
+
+ + + + getLogSizeStatus(); ?> +
+
+
+
+ + + + getServerStatus(); ?> +
+
+
+
+ + + + getCPULoadGraph(); ?> +
+
+
+
+
+ + + + getLicenseUsageGraph(); ?> +
+
+
+
+
-
-
-
+
+
+
+
+
+ title; ?> +
+
-
-
- - - - getLogSizeStatus(); ?> +
+ + getTagsGraph(); ?>
-
-
- - - - getServerStatus(); ?> +
+ + getModuleGroupGraph(); ?>
-
-
- - - - getCPULoadGraph(); ?> +
+
+
+ + getMonitoringStatusGraph(); ?> +
+
+ + getAgentGroupsGraph(); ?> +
+
+
+
+ +
+
+
+
+ title; ?> +
+
+
+
+
+ +
+ getStatus(); ?> +
+
+
+ +
+ getDataRecords(); ?> +
+
+
+
+
+ +
+ getStringRecords(); ?> +
+
+
+ +
+ getEvents(); ?>
-
- - - - getLicenseUsageGraph(); ?> +
+
+ getReadsGraph(); ?> +
+
+
+ +
+ getWritesGraph(); ?>
-
-
-
-
- title; ?> -
-
-
-
- - getTagsGraph(); ?> -
-
- - getModuleGroupGraph(); ?> -
+
+
+
+ title; ?> +
+ getNews(); ?> +
+
+
+
+
+ title; ?>
-
-
- - getMonitoringStatusGraph(); ?> -
-
- - getAgentGroupsGraph(); ?> -
+ +
+ loading(); ?>
- -
-
-
-
- title; ?> -
-
-
-
-
- -
- getStatus(); ?> -
-
-
- -
- getDataRecords(); ?> -
-
-
-
-
- -
- getStringRecords(); ?> -
-
-
- -
- getEvents(); ?> -
-
-
-
- -
- getReadsGraph(); ?> -
-
-
- -
- getWritesGraph(); ?> -
-
-
-
-
-
-
-
-
- title; ?> -
- getNews(); ?> -
-
-
-
-
- title; ?> -
- -
- loading(); ?> -
-
-
-
-
-
- title; ?> -
-
-
-
- -
- getStatus(); ?> -
-
-
- -
- getTotalSources(); ?> -
-
-
-
-
- -
- getStoredData(); ?> - -
-
-
- -
- getAgeOfStoredData(); ?> - -
-
-
-
-
- title; ?> -
-
-
-
- -
- getQueues(); ?> -
-
-
- -
- getTotalSources(); ?> -
-
-
-
-
-
-
- -
-
-
-
- title; ?> -
-
-
- +
+
+ title; ?> +
+
+
+
+ +
+ getStatus(); ?> +
+
+
+ +
+ getTotalSources(); ?> +
+
+
+
+
+ +
+ getStoredData(); ?> + +
+
+
+ +
+ getAgeOfStoredData(); ?> + +
+
- getCurrentlyTriggered(); ?> -
-
-
- +
+
+ title; ?> +
+
+
+
+ +
+ getQueues(); ?> +
+
+
+ +
+ getTotalSources(); ?> +
+
- getActiveAlerts(); ?>
- checkAclUserList() === true) : ?> -
- +
+ +
+
+
+
+ title; ?> +
+
+
+
+ +
+ getCurrentlyTriggered(); ?>
- getDataTableUsers(); ?> +
+
+ +
+ getActiveAlerts(); ?> +
+
+ checkAclUserList() === true) : ?> +
+ + getDataTableUsers(); ?> +
+ +
+
+ checkAcl() === true) : ?> +
+
+
+ title; ?> +
+
+
+ +
loading(); ?>
+
+
+
+ +
+
loading(); ?>
+
+
+
+ +
+
loading(); ?>
+
+
+
+ +
+
loading(); ?>
+
+
+
+
+ + getDataTableEvents(); ?> +
+
+
+
+ +
+ +
+
+
+
+ title; ?> +
+
+
+
+
+
+ +
+ getTotalAgents(); ?> +
+
+
+ +
+ getAlerts(); ?> +
+
+ + getDataTableGroups(); ?> +
+
+
+ +
+ getOperatingSystemGraph(); ?> +
+ +
+ getStatusGraph(); ?> +
+
+
+
+
- checkAcl() === true) : ?> -
-
-
- title; ?> -
-
-
- -
loading(); ?>
-
-
-
- -
-
loading(); ?>
-
-
-
- -
-
loading(); ?>
-
-
-
- -
-
loading(); ?>
-
-
-
-
- - getDataTableEvents(); ?> -
-
-
-
- -
- -
-
-
-
- title; ?> -
-
-
-
-
-
- -
- getTotalAgents(); ?> -
-
-
- -
- getAlerts(); ?> -
-
- - getDataTableGroups(); ?> -
-
-
- -
- getOperatingSystemGraph(); ?> -
- -
- getStatusGraph(); ?> -
-
-
-
-