X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-mwan3%2Fluasrc%2Fview%2Fmwan%2Foverview_interface.htm;fp=applications%2Fluci-app-mwan3%2Fluasrc%2Fview%2Fmwan%2Foverview_interface.htm;h=2929a6df6095693dc2fa1f2eff928ae00e222db2;hp=f4c8b1224b2d1c94147ad77e9feca8e619a2a339;hb=744584946081f44d03610682f390321e0ca7c33b;hpb=2224714217105b1482dab63842409bb62154230d diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm index f4c8b1224..2929a6df6 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm @@ -21,19 +21,19 @@ switch (mArray.wans[i].status) { case 'online': - status = 'Online (tracking active)'; + status = '<%:Online (tracking active)%>'; css = 'wanon'; break; case 'notMonitored': - status = 'Online (tracking off)'; + status = '<%:Online (tracking off)%>'; css = 'wanon'; break; case 'offline': - status = 'Offline'; + status = '<%:Offline%>'; css = 'wanoff'; break; case 'notEnabled': - status = 'Disabled'; + status = '<%:Disabled%>'; css = 'wanoff'; break; } @@ -46,18 +46,18 @@ } else { - statusDiv.innerHTML = 'No MWAN interfaces found'; + statusDiv.innerHTML = '<%:No MWAN interfaces found%>'; } var logs = document.getElementById('mwan_statuslog_text'); if (mArray.mwanlog) { - var mwanLog = 'Last 50 MWAN systemlog entries. Newest entries sorted at the top :'; + var mwanLog = '<%:Last 50 MWAN systemlog entries. Newest entries sorted at the top :%>'; logs.innerHTML = String.format('
%s

%s
', mwanLog, mArray.mwanlog[0]); } else { - logs.innerHTML = 'No MWAN systemlog history found'; + logs.innerHTML = '<%:No MWAN systemlog history found%>'; } } ); @@ -66,11 +66,11 @@
<%:MWAN Interface Live Status%> -
<%:Loading%> Collecting data...
+
<%:Loading%><%:Collecting data...%>
<%:MWAN Interface Systemlog%> -
<%:Loading%> Collecting data...
+
<%:Loading%><%:Collecting data...%>