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; } 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 37166788a4..86b0172909 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1528,3 +1528,9 @@ pre code.hljs { background-color: #222222; color: #fff; } + +a.autorefresh_txt, +#refrcounter { + color: #ffffff; + font-size: 8.5pt; +} 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( 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();