luci-mod-network: use firewall.getZoneColorStyle() in interface view
authorJo-Philipp Wich <jo@mein.io>
Thu, 11 Nov 2021 11:48:07 +0000 (12:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Feb 2022 23:37:41 +0000 (00:37 +0100)
commitdd54dcef26ebf4e09deaae4837f30e649ef54e61
tree4626b0acdb538cfe84d30561b650179fa692310b
parentd61c4486d55ee08ab23e7c79aeb3463cd62b0c3c
luci-mod-network: use firewall.getZoneColorStyle() in interface view

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

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 849772df96784a0d5480ddf6305e30e7d442740f)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js