mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fix style class invert_filter
This commit is contained in:
parent
f2be417a5e
commit
8e9bc5d0bb
@ -2665,7 +2665,7 @@ function events_print_type_img(
|
|||||||
|
|
||||||
$urlImage = ui_get_full_url(false);
|
$urlImage = ui_get_full_url(false);
|
||||||
$icon = '';
|
$icon = '';
|
||||||
$style = 'invert_filter main_menu_icon';
|
$style = 'main_menu_icon';
|
||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'alert_recovered':
|
case 'alert_recovered':
|
||||||
@ -2702,23 +2702,28 @@ function events_print_type_img(
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'system':
|
case 'system':
|
||||||
|
$style .= ' invert_filter';
|
||||||
$icon = 'images/configuration@svg.svg';
|
$icon = 'images/configuration@svg.svg';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'recon_host_detected':
|
case 'recon_host_detected':
|
||||||
|
$style .= ' invert_filter';
|
||||||
$icon = 'images/recon.png';
|
$icon = 'images/recon.png';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'new_agent':
|
case 'new_agent':
|
||||||
|
$style .= ' invert_filter';
|
||||||
$icon = 'images/agents@svg.svg';
|
$icon = 'images/agents@svg.svg';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'configuration_change':
|
case 'configuration_change':
|
||||||
|
$style .= ' invert_filter';
|
||||||
$icon = 'images/configuration@svg.svg';
|
$icon = 'images/configuration@svg.svg';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'unknown':
|
case 'unknown':
|
||||||
default:
|
default:
|
||||||
|
$style .= ' invert_filter';
|
||||||
$icon = 'images/event.svg';
|
$icon = 'images/event.svg';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user