diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 07:38:40 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 07:38:40 +0200 |
commit | 7bd1bcaf3064a2c125cfe7976eacb3697d46f477 (patch) | |
tree | 3875788f04f1b66779b8a0e9570a11090a242b67 /modules/luci-mod-admin-full/luasrc | |
parent | c3da1fc2325e6b59a9625e4f4f4047019820af48 (diff) |
luci-mod-admin-full: fix status page render glitch on Chrome
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm index 73e5516bf..c5952064a 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm @@ -232,10 +232,10 @@ us.appendChild(renderBox( '<%:IPv4 Upstream%>', (ifc.ifname && ifc.proto != 'none'), - [ renderBadge( + [ E('div', {}, renderBadge( '<%=resource%>/icons/%s.png'.format((ifc && ifc.type) ? ifc.type : 'ethernet_disabled'), null, '<%:Device%>', ifc ? (ifc.name || ifc.ifname || '-') : '-', - '<%:MAC-Address%>', (ifc && ifc.ether) ? ifc.mac : null) ], + '<%:MAC-Address%>', (ifc && ifc.ether) ? ifc.mac : null)) ], '<%:Protocol%>', ifc.i18n || E('em', '<%:Not connected%>'), '<%:Address%>', (ifc.ipaddr) ? ifc.ipaddr : '0.0.0.0', '<%:Netmask%>', (ifc.netmask && ifc.netmask != ifc.ipaddr) ? ifc.netmask : '255.255.255.255', @@ -254,10 +254,10 @@ us.appendChild(renderBox( '<%:IPv6 Upstream%>', (ifc6.ifname && ifc6.proto != 'none'), - [ renderBadge( + [ E('div', {}, renderBadge( '<%=resource%>/icons/%s.png'.format(ifc6.type || 'ethernet_disabled'), null, '<%:Device%>', ifc6 ? (ifc6.name || ifc6.ifname || '-') : '-', - '<%:MAC-Address%>', (ifc6 && ifc6.ether) ? ifc6.mac : null) ], + '<%:MAC-Address%>', (ifc6 && ifc6.ether) ? ifc6.mac : null)) ], '<%:Protocol%>', ifc6.i18n ? (ifc6.i18n + (ifc6.proto === 'dhcp' && ifc6.ip6prefix ? '-PD' : '')) : E('em', '<%:Not connected%>'), '<%:Prefix Delegated%>', ifc6.ip6prefix, '<%:Address%>', (ifc6.ip6prefix) ? (ifc6.ip6addr || null) : (ifc6.ipaddr || '::'), |