From e83013d8fc82e431851fe778a31ed5924d576376 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Fri, 26 Mar 2021 14:19:11 +0800 Subject: [PATCH] Update wanstatus.htm --- luci-app-status/luasrc/view/status/wanstatus.htm | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/luci-app-status/luasrc/view/status/wanstatus.htm b/luci-app-status/luasrc/view/status/wanstatus.htm index 799b81264..b4f04ece3 100644 --- a/luci-app-status/luasrc/view/status/wanstatus.htm +++ b/luci-app-status/luasrc/view/status/wanstatus.htm @@ -373,21 +373,7 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm content += '<%:IPv6:%>' + " " + mArray.openmptcprouter.wan_addr6; content += '
'; } - if (mArray.openmptcprouter.proxy_traffic && mArray.openmptcprouter.proxy_traffic != 0) - { - content += '<%:Proxy traffic:%>' + " " + formatBytes(mArray.openmptcprouter.proxy_traffic); - content += '
'; - } - if (mArray.openmptcprouter.vpn_traffic && mArray.openmptcprouter.vpn_traffic != 0) - { - content += '<%:VPN traffic:%>' + " " + formatBytes(mArray.openmptcprouter.vpn_traffic); - content += '
'; - } - if (mArray.openmptcprouter.total_traffic && mArray.openmptcprouter.total_traffic != 0) - { - content += '<%:Total traffic:%>' + " " + formatBytes(mArray.openmptcprouter.total_traffic); - content += '
'; - } + content += '
'; temp += getNetworkNodeTemplate(equipmentIcon, statusIcon, title, statusMessageClass,statusMessage,content);