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>
Thu, 11 Nov 2021 12:00:50 +0000 (13:00 +0100)
commita812b26cb8cde56c8083349f665d762ae6a1826a
treeb078352e614932150e395f24bd148b09c8ba9acf
parentd775279dbd0da284af7f74b31b5d3b0eddcf80bc
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>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js