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]>
Tue, 15 Feb 2022 23:37:37 +0000 (00:37 +0100)
commitd61c4486d55ee08ab23e7c79aeb3463cd62b0c3c
tree59aed7f455aefba0b5bd2148165b7a58170119c6
parent4aa1c79138b287fa08366045269c4350bb657fab
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]>
(cherry picked from commit 0b4b6380d0698954c2f45e301cf653810b861a87)
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