From 1991b4ae64af79e3cd346d8383d3a586a16f6b80 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 28 Jun 2019 13:54:43 +0200 Subject: luci-app-mwan3: rename ubus values Update status view because of ubus value rename Signed-off-by: Florian Eckert --- .../luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-mwan3/luasrc/view/mwan') diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm index 2e7b490f4f..3cb0ca224e 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm @@ -34,7 +34,7 @@ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface state = '<%:Online%>'; time = String.format( '
Uptime: %s
', - secondsToString(status.interfaces[iface].uptime) + secondsToString(status.interfaces[iface].online) ); css = 'success'; break; @@ -42,7 +42,7 @@ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface state = '<%:Offline%>'; time = String.format( '
Downtime: %s
', - secondsToString(status.interfaces[iface].downtime) + secondsToString(status.interfaces[iface].offline) ); css = 'danger'; break; -- cgit v1.2.3