mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#11583 Fixed agent icon in firefox and chrome browser
This commit is contained in:
parent
2aaa21ebff
commit
7b9aae83ca
@ -2685,7 +2685,8 @@ function events_print_type_img(
|
|||||||
case 'going_up_normal':
|
case 'going_up_normal':
|
||||||
case 'going_down_normal':
|
case 'going_down_normal':
|
||||||
// This is to be backwards compatible.
|
// This is to be backwards compatible.
|
||||||
$style .= ' event_module_background_state icon_background_normal';
|
// $style .= ' event_module_background_state icon_background_normal';
|
||||||
|
$icon = 'images/module_ok.png';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'going_up_warning':
|
case 'going_up_warning':
|
||||||
@ -2697,7 +2698,8 @@ function events_print_type_img(
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'going_unknown':
|
case 'going_unknown':
|
||||||
$style .= ' event_module_background_state icon_background_unknown';
|
// $style .= ' event_module_background_state icon_background_unknown';
|
||||||
|
$icon = 'images/module_unknown.png';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'alert_fired':
|
case 'alert_fired':
|
||||||
@ -2855,11 +2857,10 @@ function events_print_type_img_pdf(
|
|||||||
|
|
||||||
case 'new_agent':
|
case 'new_agent':
|
||||||
$svg = html_print_image(
|
$svg = html_print_image(
|
||||||
'/images/agents.svg',
|
'/images/agent_mc.png',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'class' => 'image_status invert_filter',
|
'class' => 'image_status invert_filter',
|
||||||
'width' => 16,
|
|
||||||
'title' => 'agents',
|
'title' => 'agents',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user