Fix popup script indentation and alarm table row colors
- Add leading tab to flowRatePopup onClick script to fix SyntaxError - Add rowStyles to AlarmStatusTable: grey (#BDBDBD) for Low priority alarms to visually distinguish from High priority (default red)
This commit is contained in:
@@ -1296,7 +1296,7 @@
|
|||||||
"dom": {
|
"dom": {
|
||||||
"onClick": {
|
"onClick": {
|
||||||
"config": {
|
"config": {
|
||||||
"script": "system.perspective.openPopup('flowRatePopup', 'FlowRatePopup', params={}, title='Flow Rate History', modal=True)"
|
"script": "\tsystem.perspective.openPopup('flowRatePopup', 'FlowRatePopup', params={}, title='Flow Rate History', modal=True)"
|
||||||
},
|
},
|
||||||
"scope": "G",
|
"scope": "G",
|
||||||
"type": "script"
|
"type": "script"
|
||||||
@@ -1630,6 +1630,29 @@
|
|||||||
"source": "*WaterMeter*"
|
"source": "*WaterMeter*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"rowStyles": {
|
||||||
|
"activeUnacked": {
|
||||||
|
"priorities": {
|
||||||
|
"low": {
|
||||||
|
"backgroundColor": "#BDBDBD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"activeAcked": {
|
||||||
|
"priorities": {
|
||||||
|
"low": {
|
||||||
|
"backgroundColor": "#BDBDBD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"clearUnacked": {
|
||||||
|
"priorities": {
|
||||||
|
"low": {
|
||||||
|
"backgroundColor": "#BDBDBD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "ia.display.alarmstatustable"
|
"type": "ia.display.alarmstatustable"
|
||||||
@@ -1653,4 +1676,4 @@
|
|||||||
},
|
},
|
||||||
"type": "ia.container.flex"
|
"type": "ia.container.flex"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user