summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view/status
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-11-02 15:29:16 +0100
committerJo-Philipp Wich <jo@mein.io>2023-11-02 15:29:16 +0100
commit9d5e205b669431a1fc9a943de09babc42824128c (patch)
tree17a28a22918b571b4e945bd877ac9663490cbf02 /modules/luci-mod-status/htdocs/luci-static/resources/view/status
parent408ff05c5229d9d93a3a3bae04a2a3f3c34f2a9d (diff)
luci-mod-status: 29_ports.js: mute zone colors for disconnected ports
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view/status')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js
index ab1852323b..b511897921 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js
@@ -367,7 +367,7 @@ return baseclass.extend({
E([], pzones.map(function(zone) {
return E('div', {
'class': 'zonebadge',
- 'style': 'cursor:help;flex:1;height:3px;' + firewall.getZoneColorStyle(zone)
+ 'style': 'cursor:help;flex:1;height:3px;opacity:' + (carrier ? 1 : 0.25) + ';' + firewall.getZoneColorStyle(zone)
});
})),
E('span', { 'class': 'cbi-tooltip left' }, [ renderNetworksTooltip(pmap) ])