luci-app-firewall: use firewall.getZoneColorStyle() in views
authorJo-Philipp Wich <[email protected]>
Thu, 11 Nov 2021 11:45:48 +0000 (12:45 +0100)
committerJo-Philipp Wich <[email protected]>
Thu, 11 Nov 2021 12:00:50 +0000 (13:00 +0100)
commit0b4b6380d0698954c2f45e301cf653810b861a87
tree13a0ee3c5b6835cd0734dbc0ad1d994cff18e92c
parenta812b26cb8cde56c8083349f665d762ae6a1826a
luci-app-firewall: use firewall.getZoneColorStyle() in views

Use the new `firewall.getZoneColorStyle()` helper to apply background
color styles.

Signed-off-by: Jo-Philipp Wich <[email protected]>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js