From 388c6c3a2fba21a469203c6aee56ef0b1c9909a9 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 21 Mar 2023 11:07:44 +0100 Subject: [PATCH 1/4] fixed color in counter refresh in node --- pandora_console/include/styles/pandora.css | 2 +- pandora_console/include/styles/pandora_black.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index ab14e334e7..bf60df270e 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -2667,7 +2667,7 @@ div#header_autorefresh_counter { a.autorefresh_txt, #refrcounter { - color: #ffffff; + color: #1c1c1c; font-size: 8.5pt; } diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index bf44c58a4b..11583ceccc 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1534,3 +1534,9 @@ pre code.hljs { background-color: #222222; color: #fff; } + +a.autorefresh_txt, +#refrcounter { + color: #ffffff; + font-size: 8.5pt; +} From 72778eb97c842bf030684c588ed5be0f2eeffaba Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 21 Mar 2023 12:07:10 +0100 Subject: [PATCH 2/4] Wizzard template fix --- pandora_console/include/functions_ui.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index f9d8cfdf99..ce111ea249 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -283,6 +283,14 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t if (empty($message['force_class']) === false) { $force_class = $message['force_class']; } + + if (isset($message['autoclose']) === true) { + if ($message['autoclose'] === true) { + $autoclose = true; + } else { + $autoclose = false; + } + } } else { $text_message = $message; } From 9654ba4fa2c1281214db178025aa90ee17a91a9f Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 21 Mar 2023 12:35:25 +0100 Subject: [PATCH 3/4] Snmp browser select multiple post --- pandora_console/operation/snmpconsole/snmp_browser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/snmpconsole/snmp_browser.php b/pandora_console/operation/snmpconsole/snmp_browser.php index 28cb1ce4e4..12cba23676 100644 --- a/pandora_console/operation/snmpconsole/snmp_browser.php +++ b/pandora_console/operation/snmpconsole/snmp_browser.php @@ -203,7 +203,7 @@ function snmp_browser_show_add_module_massive(module_target = 'agent') { function modal_preaction() { // Select all in select box. - $("input[name='select_all_right']").click(); + $('#id_item2>option').prop('selected', true); // Load adding modules modal. waiting_modal(); From d2d8b43c87f5f2e9c43aed1f19f1099a827b714d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 21 Mar 2023 13:09:32 +0100 Subject: [PATCH 4/4] Custom fields agent view change size svg --- pandora_console/operation/agentes/custom_fields.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/agentes/custom_fields.php b/pandora_console/operation/agentes/custom_fields.php index f7a3487bbf..a47df306ef 100644 --- a/pandora_console/operation/agentes/custom_fields.php +++ b/pandora_console/operation/agentes/custom_fields.php @@ -76,9 +76,9 @@ if ($fields === false) { $data[0] = ''.$field['name'].''; if ($field['display_on_front']) { - $data[1] = html_print_image('images/validate.svg', true, ['class' => 'invert_filter']); + $data[1] = html_print_image('images/validate.svg', true, ['class' => 'invert_filter main_menu_icon']); } else { - $data[1] = html_print_image('images/delete.svg', true, ['class' => 'invert_filter']); + $data[1] = html_print_image('images/delete.svg', true, ['class' => 'invert_filter main_menu_icon']); } $custom_value = db_get_all_rows_sql(