fixed visual error black theme event modal

This commit is contained in:
Marcos Alconada 2021-05-10 09:16:19 +00:00 committed by Daniel Rodriguez
parent f0f7244d84
commit 8f324b942b
2 changed files with 12 additions and 7 deletions

View File

@ -4318,10 +4318,6 @@ function events_page_details($event, $server='')
$table_class = 'table_modal_alternate'; $table_class = 'table_modal_alternate';
if ($config['style'] === 'pandora_black') {
$table_class = 'black_table_modal_alternate';
}
// Details. // Details.
$table_details = new stdClass; $table_details = new stdClass;
$table_details->width = '100%'; $table_details->width = '100%';
@ -4526,7 +4522,7 @@ function events_page_details($event, $server='')
$link = "winopeng_var('".$url.'?'.$graph_params_str."','".$win_handle."', 800, 480)"; $link = "winopeng_var('".$url.'?'.$graph_params_str."','".$win_handle."', 800, 480)";
$data[1] = '<a href="javascript:'.$link.'">'; $data[1] = '<a href="javascript:'.$link.'">';
$data[1] .= html_print_image('images/chart_curve.png', true); $data[1] .= html_print_image('images/chart_curve.png', true, ['class' => 'invert_filter']);
$data[1] .= '</a>'; $data[1] .= '</a>';
$table_details->data[] = $data; $table_details->data[] = $data;
} }
@ -4546,13 +4542,19 @@ function events_page_details($event, $server='')
$data[1] .= html_print_image( $data[1] .= html_print_image(
'images/bell.png', 'images/bell.png',
true, true,
['title' => __('Go to data overview')] [
'title' => __('Go to data overview'),
'class' => 'invert_filter',
]
); );
} else { } else {
$data[1] .= html_print_image( $data[1] .= html_print_image(
'images/bell_pause.png', 'images/bell_pause.png',
true, true,
['title' => __('Go to data overview')] [
'title' => __('Go to data overview'),
'class' => 'invert_filter',
]
); );
} }

View File

@ -1000,3 +1000,6 @@ table.databox {
.tactical_set { .tactical_set {
border-color: #707070; border-color: #707070;
} }
li.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab {
border: 1px solid #707070;
}