luci-mod-status: 29_ports.js: mute zone colors for disconnected ports
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
408ff05c52
commit
9d5e205b66
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ return baseclass.extend({
|
||||||
E([], pzones.map(function(zone) {
|
E([], pzones.map(function(zone) {
|
||||||
return E('div', {
|
return E('div', {
|
||||||
'class': 'zonebadge',
|
'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) ])
|
E('span', { 'class': 'cbi-tooltip left' }, [ renderNetworksTooltip(pmap) ])
|
||||||
|
|
Loading…
Reference in a new issue