@if (map) {
@for (item of map.mapitems; track item) {
@if (item.type !== 'hostgroup' && item.type !== 'servicegroup') {
}
@if (item.type === 'hostgroup' || item.type === 'servicegroup') {
}
}
@for (textItem of map.maptexts; track textItem) {
}
@for (lineItem of map.maplines; track lineItem) {
@if (lineItem.type !== 'hostgroup' && lineItem.type !== 'servicegroup' && lineItem.type !== 'stateless') {
}
@if (lineItem.type === 'hostgroup' || lineItem.type === 'servicegroup' || lineItem.type === 'stateless') {
}
}
@for (iconItem of map.mapicons; track iconItem) {
}
@for (gadgetItem of map.mapgadgets; track gadgetItem) {
@if (gadgetItem.gadget === 'RRDGraph') {
}
@if (gadgetItem.gadget === 'Text') {
}
@if (gadgetItem.gadget === 'Tacho') {
}
@if (gadgetItem.gadget === 'Cylinder') {
}
@if (gadgetItem.gadget === 'TrafficLight') {
}
@if (gadgetItem.gadget === 'Temperature') {
}
@if (gadgetItem.gadget === 'ServiceOutput') {
}
}
@for (summaryItem of map.mapsummaryitems; track summaryItem) {
@if (summaryItem.type !== 'hostgroup' && summaryItem.type !== 'servicegroup') {
}
@if (summaryItem.type === 'hostgroup' || summaryItem.type === 'servicegroup') {
}
}
}