From 1b4a137579d944250f0e78d66f063cb002366176 Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 6 Sep 2021 17:16:49 +0200 Subject: [PATCH] fixed visual error with modules agents --- pandora_console/extensions/agents_modules.php | 8 ++++++-- pandora_console/include/styles/pandora.css | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index e668e35179..5565a9fe78 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -331,6 +331,10 @@ function mainAgentsModules() $offset = (int) get_parameter('offset', 0); $hor_offset = (int) get_parameter('hor_offset', 0); $block = $config['block_size']; + if (intval($block) > 15) { + $block = '15'; + } + if (get_parameter('modulegroup') != null) { $agents_id = (array) get_parameter('id_agents2', null); } @@ -543,7 +547,7 @@ function mainAgentsModules() if ($config['pure'] != 1) { $show_filters = '
'; - $show_filters .= ''; + $show_filters .= '
'; $show_filters .= ''; $show_filters .= ''; $show_filters .= ''; @@ -561,7 +565,7 @@ function mainAgentsModules() $show_filters .= ''; $show_filters .= ''; $show_filters .= ''; - $show_filters .= "'; + $show_filters .= "'; $show_filters .= ''; $show_filters .= '
'.$filter_groups_label.''.$filter_groups.'   '.$filter_recursion_label.$filter_recursion.''.$filter_modules.'
".$filter_update.'".$filter_update.'
'; $show_filters .= '
'; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index ceaa51900f..3769e5f997 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -6649,6 +6649,9 @@ div.graph div.legend table { .pdd_r_30px { padding-right: 30px; } +.pdd_r_35px { + padding-right: 35px; +} .pdd_r_40px { padding-right: 40px; }