From 260caca63ad4bfedb8f4a9797ffe9d3d13e7fd61 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Thu, 16 Mar 2023 12:57:48 +0100 Subject: [PATCH] 10021, 10224, 10652, 10414 --- pandora_console/godmode/agentes/modificar_agente.php | 4 ++-- pandora_console/include/functions_graph.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 0d7e5fc0b6..8922034a93 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -907,12 +907,12 @@ if ($agents !== false) { $agentDisableEnableTitle = __('Enable agent'); $agentDisableEnableAction = 'enable_agent'; $agentDisableEnableCaption = __('You are going to enable a cluster agent. Are you sure?'); - $agentDisableEnableIcon = 'change-pause.svg'; + $agentDisableEnableIcon = 'change-active.svg'; } else { $agentDisableEnableTitle = __('Disable agent'); $agentDisableEnableAction = 'disable_agent'; $agentDisableEnableCaption = __('You are going to disable a cluster agent. Are you sure?'); - $agentDisableEnableIcon = 'change-active.svg'; + $agentDisableEnableIcon = 'change-pause.svg'; } $agentActionButtons[] = html_print_menu_button( diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 977076824b..0d5b38f668 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -4816,7 +4816,7 @@ function graph_nodata_image($options) $height = $options['height']; } - $width_style = ''; + $width_style = 'width: 200px'; if (isset($options['width']) === true && empty($options['width']) === false ) { @@ -4835,7 +4835,7 @@ function graph_nodata_image($options) true, [ 'title' => __('No data'), - 'style' => 'height:'.$height.'px;'.$width_style, + 'style' => $width_style, ] ); }