luci-base: widget.js: use firewall.getZoneColorStyle() in zone widgets
authorJo-Philipp Wich <jo@mein.io>
Thu, 11 Nov 2021 11:43:56 +0000 (12:43 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Feb 2022 23:37:33 +0000 (00:37 +0100)
commit4aa1c79138b287fa08366045269c4350bb657fab
tree3250b1733bcc027a79bacd4a7a40b47e0c00777a
parenta6bad6d9f87ed387e14f1ebbdaaafabf217bccde
luci-base: widget.js: use firewall.getZoneColorStyle() in zone widgets

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

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a812b26cb8cde56c8083349f665d762ae6a1826a)
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js