Fixed icons in node and meta for warning status

This commit is contained in:
Jorge Rincon 2023-07-04 15:55:54 +02:00
parent db590f2367
commit 8eb11f2b5b

View File

@ -2689,6 +2689,8 @@ function events_print_type_img(
break; break;
case 'going_up_warning': case 'going_up_warning':
$icon = 'images/module_warning.png';
$style .= ' event_module_background_state icon_background_warning';
case 'going_down_warning': case 'going_down_warning':
$style .= ' event_module_background_state icon_background_warning'; $style .= ' event_module_background_state icon_background_warning';
break; break;
@ -2851,16 +2853,15 @@ function events_print_type_img_pdf(
break; break;
case 'new_agent': case 'new_agent':
$svg = '<svg width="15" height="15" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> $svg = html_print_image(
<title>Dark / 20 / agents@svg</title> '/images/agents.svg',
<desc>Created with Sketch.</desc> true,
<g id="Dark-/-20-/-agents" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> [
<g id="Group" transform="translate(0.000000, 1.000000)"> 'class' => 'image_status invert_filter',
<rect id="Rectangle" fill="#3F3F3F" x="-20" y="6" width="25" height="6" rx="1"></rect> 'width' => 16,
<polyline points="3 4 6.9967103 -2.30926389e-14 15 -2.30926389e-14 19 4 19 14 15 18 6.9967103 18 3 14.0223656" style="fill:white;stroke:#3F3F3F;stroke-width:2" stroke-linecap="round" stroke-linejoin="round" /> 'title' => 'agents',
</g> ]
</g> );
</svg>';
break; break;
case 'configuration_change': case 'configuration_change':