diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index fc44b65910..a329517c30 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -4104,7 +4104,7 @@ function reporting_html_historical_data($table, $item, $pdf=0) // Center every row foreach ($table1->data[0] as $k => $v) { - for ($i = 0; $i < count($table1->data); $i++){ + for ($i = 0; $i < count($table1->data); $i++) { $table1->cellstyle[$i][$k] = 'text-align: center;'; } } @@ -4187,7 +4187,7 @@ function reporting_html_database_serialized($table, $item, $pdf=0) // Center every row foreach ($table1->data[0] as $k => $v) { - for ($i = 0; $i < count($table1->data); $i++){ + for ($i = 0; $i < count($table1->data); $i++) { $table1->cellstyle[$i][$k] = 'text-align: center;'; } } @@ -6432,7 +6432,7 @@ function reporting_html_sql($table, $item, $pdf=0) // Center every row foreach ($table2->data[0] as $k => $v) { - for ($i = 0; $i < count($table2->data); $i++){ + for ($i = 0; $i < count($table2->data); $i++) { $table2->cellstyle[$i][$k] = 'text-align: center;'; } } @@ -7883,6 +7883,12 @@ function reporting_html_ncm_list($table, $item, $pdf=0) */ function reporting_html_ncm_backups($table, $item, $pdf=0) { + global $config; + + if ($config['style'] === 'pandora_black') { + ui_require_css_file('pandora_black'); + } + ui_require_css_file('diff2html.min'); ui_require_css_file('highlight.min'); ui_require_css_file('highlight/vs.min'); diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index b1b404ae16..4dc5cff8f5 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -2094,3 +2094,9 @@ select option:checked { #horizontalBar > .labels > .label > div[style^="background"] { filter: invert(1); } + +.d2h-file-list-header, +.d2h-file-name-wrapper, +.d2h-file-collapse { + color: #333 !important; +}