diff --git a/pandora_console/extensions/module_groups.php b/pandora_console/extensions/module_groups.php index d9843f9860..8b5075f77c 100644 --- a/pandora_console/extensions/module_groups.php +++ b/pandora_console/extensions/module_groups.php @@ -270,6 +270,12 @@ function mainModuleGroups() $table->style[0] = 'color: #ffffff; background-color: #373737; font-weight: bolder; min-width: 230px;'; $table->width = '100%'; + if ($config['style'] === 'pandora_black') { + $background_color = '#333'; + } else { + $background_color = '#fff'; + } + $head[0] = __('Groups'); $headstyle[0] = 'width: 20%; font-weight: bolder;'; foreach ($array_module_group as $key => $value) { @@ -314,7 +320,7 @@ function mainModuleGroups() $data[$i][$j] .= $array_data[$key][$k]['total_count']; $data[$i][$j] .= ''; } else { - $data[$i][$j] = "
"; + $data[$i][$j] = "
"; $data[$i][$j] .= 0; $data[$i][$j] .= '
'; } @@ -323,7 +329,7 @@ function mainModuleGroups() } } else { foreach ($value['gm'] as $k => $v) { - $data[$i][$j] = "
"; + $data[$i][$j] = "
"; $data[$i][$j] .= 0; $data[$i][$j] .= '
'; $j++; diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index fbdd620f77..cc674f3837 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -78,6 +78,13 @@ function push_table_advanced($row, $id=false) function add_component_selection($id_network_component_type) { global $table_simple; + global $config; + + if ($config['style'] === 'pandora_black') { + $background_row = 'background-color: #444'; + } else { + $background_row = 'background-color: #cfcfcf'; + } $data = []; $data[0] = __('Using module component').' '; @@ -116,7 +123,7 @@ function add_component_selection($id_network_component_type) $data[1] .= ''; $table_simple->colspan['module_component'][1] = 3; - $table_simple->rowstyle['module_component'] = 'background-color: #cfcfcf'; + $table_simple->rowstyle['module_component'] = $background_row; prepend_table_simple($data, 'module_component'); } diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index c8d5b3e29e..c6524b4ec3 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -107,9 +107,15 @@ function html_do_report_info($report) { global $config; + if ($config['style'] === 'pandora_black') { + $background_color = '#222'; + } else { + $background_color = '#f5f5f5'; + } + $date_today = date($config['date_format']); - $html = '
+ $html = '
diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 2db907831a..1913f9025d 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -55,6 +55,11 @@ table.databox, color: #fff; } +input[readonly] { + background-color: #444 !important; + color: #a2a2a2 !important; +} + .box-shadow { box-shadow: none; } @@ -88,6 +93,37 @@ textarea:disabled { filter: brightness(2.5) contrast(3.5); } +table.widget_list tr.datos, +table.widget_list tr.datos2, +table.widget_list td.datos, +table.widget_list td.datos2 { + background-color: inherit; +} + +/* messages */ +.container { + background-color: #222; +} + +.p-slider { + background-color: #888; +} + +ol.steps li.current { + border-left: 5px solid #82b92e; + background-color: #545454; +} + +ol.steps li { + background-color: #999; +} + +ol.steps li.visited, +ol.steps li.visited span, +ol.steps li.visited a { + color: #eaeaea; +} + /* White text */ a, #menu_tab_left li a, @@ -109,7 +145,9 @@ form.discovery label, .input_label, .pagination, tr.group_view_data, -.group_view_data { +.group_view_data, +ol.steps li span, +ol.steps li a { color: #fff; } @@ -198,6 +236,13 @@ table.table_modal_alternate tr:nth-child(even) td { color: #fff; } +.info_table .datos3, +.datos3, +.info_table .datos4, +.datos4 { + background-color: #444; +} + .action_buttons a[href] img, .action_buttons input[type="image"], .action_button_img { @@ -318,3 +363,25 @@ ul.ui-tabs-nav.ui-corner-all.ui-helper-reset.ui-helper-clearfix.ui-widget-header img { filter: brightness(2); } + +/* notifications */ +#notification-wrapper::before { + border-bottom-color: #111; +} + +#notification-wrapper { + background: #111; +} + +.notification-item { + background: #222; +} + +.notification-subtitle { + color: #fff; +} + +/* update_manager.css */ +div#box_online * { + color: #000; +} diff --git a/pandora_console/operation/search_main.php b/pandora_console/operation/search_main.php index ffc9d93f74..3a0880e348 100644 --- a/pandora_console/operation/search_main.php +++ b/pandora_console/operation/search_main.php @@ -22,7 +22,7 @@ $searchReports = check_acl($config['id_user'], 0, 'RR'); $searchUsers = check_acl($config['id_user'], 0, 'UM'); $searchHelps = true; -echo '
'; +echo '
'; $anyfound = false;
'.__('Generated').': '.$date_today.'