diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 1afd26363e..2d3faf11db 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -925,7 +925,7 @@ if ($tab == 'tree') { true, [ 'style' => '', - 'class' => 'bot', + 'class' => 'bot main_menu_icon invert_filter', 'alt' => io_safe_input($group['nombre']), 'title' => io_safe_input($group['nombre']), ], diff --git a/pandora_console/godmode/setup/setup_visuals.php b/pandora_console/godmode/setup/setup_visuals.php index 7efaa24e6c..29df51b114 100755 --- a/pandora_console/godmode/setup/setup_visuals.php +++ b/pandora_console/godmode/setup/setup_visuals.php @@ -1694,7 +1694,7 @@ $csvDividerInputs .= html_print_image( true, [ 'id' => 'select_csv_divider', - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ); diff --git a/pandora_console/godmode/snmpconsole/snmp_alert.php b/pandora_console/godmode/snmpconsole/snmp_alert.php index 72e695eb71..189cfe808e 100755 --- a/pandora_console/godmode/snmpconsole/snmp_alert.php +++ b/pandora_console/godmode/snmpconsole/snmp_alert.php @@ -1885,7 +1885,7 @@ if ($create_alert || $update_alert) { $table->cellpadding = 4; $table->cellspacing = 4; $table->width = '100%'; - $table->class = 'databox data'; + $table->class = 'info_table'; $table->align = []; $table->head[0] = ''.__('P.').''; @@ -1983,7 +1983,7 @@ if ($create_alert || $update_alert) { [ 'alt' => __('Duplicate'), 'title' => __('Duplicate'), - 'class' => 'main_menu_icon invert_filter', + 'class' => 'main_menu_icon', ] ), ], @@ -2001,7 +2001,7 @@ if ($create_alert || $update_alert) { [ 'alt' => __('Update'), 'border' => 0, - 'class' => 'main_menu_icon invert_filter', + 'class' => 'main_menu_icon', ] ), ], @@ -2031,6 +2031,7 @@ if ($create_alert || $update_alert) { true, [ 'title' => __('Delete action'), + 'class' => 'main_menu_icon', ] ), 'onClick' => 'delete_snmp_alert('.$row['id_as'].')', diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index f8874476e3..35cc23bdc2 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2623,7 +2623,7 @@ function events_print_event_table( $img, true, [ - 'class' => 'image_status', + 'class' => 'image_status invert_filter main_menu_icon', 'title' => $title, ] ); diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 59a7c1bb13..f9d8cfdf99 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -730,7 +730,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin true, [ 'style' => $style, - 'class' => 'main_menu_icon '.$class, + 'class' => 'main_menu_icon invert_filter '.$class, 'alt' => groups_get_name($id_group, true), 'title' => groups_get_name($id_group, true), ], @@ -755,7 +755,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin true, [ 'style' => $style, - 'class' => 'main_menu_icon '.$class, + 'class' => 'main_menu_icon invert_filter '.$class, 'alt' => groups_get_name($id_group, true), 'title' => groups_get_name($id_group, true), ], @@ -862,7 +862,7 @@ function ui_print_os_icon( } if (isset($options['class']) === false) { - $options['class'] = 'main_menu_icon'; + $options['class'] = 'main_menu_icon invert_filter'; } $no_in_meta = (is_metaconsole() === false); @@ -4374,34 +4374,6 @@ function ui_toggle( $rotateA = '90deg'; $rotateB = '180deg'; - if (empty($img_a) === false) { - $image_a = html_print_image( - $img_a, - true, - [ - 'class' => 'mrgn_right_10px', - 'style' => 'rotate: '.$rotateA, - ], - true - ); - } else { - $image_a = ''; - } - - if (empty($img_b) === false) { - $image_b = html_print_image( - $img_b, - true, - [ - 'class' => 'mrgn_right_10px', - 'style' => 'margin-right:10px; rotate: '.$rotateB, - ], - true - ); - } else { - $image_b = ''; - } - // Options. $style = 'overflow:hidden;width: -webkit-fill-available;width: -moz-available;'; $style = 'overflow:hidden;'; @@ -4458,7 +4430,7 @@ function ui_toggle( $original, true, [ - 'class' => 'float-left main_menu_icon mrgn_right_10px', + 'class' => 'float-left main_menu_icon mrgn_right_10px invert_filter', 'style' => 'object-fit: contain; margin-right:10px; rotate:'.$imageRotate, 'title' => $title, 'id' => 'image_'.$uniqid, @@ -4490,7 +4462,7 @@ function ui_toggle( $original, true, [ - 'class' => 'main_menu_icon mrgn_right_10px', + 'class' => 'main_menu_icon mrgn_right_10px invert_filter', 'style' => 'object-fit: contain; float:right; margin-right:10px; rotate:'.$imageRotate, 'title' => $title, 'id' => 'image_'.$uniqid, diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index 821ccad99f..94bb58b260 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -753,7 +753,6 @@ function flot_slicesbar_graph( 'return_img_base_64' => true, 'date_to' => $date_to, 'server_id' => $server_id, - 'backgroundColor' => '#f6f7fb', ]; // TO-DO Cambiar esto para que se pase por POST, NO SE PUEDE PASAR POR GET. update_config_token($tokem_config, json_encode($graph_data)); diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 35a0c64e54..bf44c58a4b 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1525,3 +1525,12 @@ span.select2 { #tips_window_modal > div.window > div.description > #text_tip { color: white !important; } + +.agent_details_header span.subsection_header_title { + color: #fff; +} + +pre code.hljs { + background-color: #222222; + color: #fff; +} diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 8dab5a61e0..3ec49048d2 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -756,7 +756,7 @@ if (is_ajax() === true) { true, [ 'title' => __('New event'), - 'class' => 'forced-title main_menu_icon', + 'class' => 'forced-title invert_filter main_menu_icon', ] ); $state = 0;