Dear Sabine,
please paste following code into your <PRTG install path>\webroot\css\styles_custom.css
(create the file if it does not exist)
.map_icon_customfont .moreicon {
display: none;
}
.map_icon_customfont, .map_icon_customfont div, .map_icon_customfont span, td.map_icon_customfont {
font-size: 12px;
font-weight: bold;
}
.map_icon_customfont .status {
font-size: 8px;
font-weight: normal;
}
and the following code in a new file called for example <PRTG install path>\webroot\mapobjects\sensormessagesmallfont.htm
<!--Status Icons: Sensor Message only on Status Related Background Small Font-->
<div class="map_object map_icon2 map_icon_customfont <#sensor type="colorclassofstate" prefix="map_iconcolor_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<#checkobjecttype objecttype="sensor" nicemessage="true" id="<@objectid>">
<#objectproperty name="Name" id="<@objectid>">
<#objectstatus name="message" show="textraw" id="<@objectid>">
<#mapobject type="htmlafter" subid="<@subid>">
</div>
Then reload your mapeditor and you should have a new mapobject in the "Staus Icons" category named "Sensor Message only on Status Related Background Small Font".
In the styles_custom.css adjust the two "font-size" parameters as you like.
Regards,
Daniel
Add comment