diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-06-28 13:54:43 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-07-10 09:18:32 +0200 |
commit | 1991b4ae64af79e3cd346d8383d3a586a16f6b80 (patch) | |
tree | f856c1f4fcf029a95ee015ccdaeb7bf1877e3479 /applications/luci-app-mwan3/luasrc/view/mwan | |
parent | b5895e7c6367e17c23003e8e814cb2b169312556 (diff) |
luci-app-mwan3: rename ubus values
Update status view because of ubus value rename
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/view/mwan')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm | 4 |
1 files changed, 2 insertions, 2 deletions
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( '<div><strong>Uptime: </strong>%s</div>', - 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( '<div><strong>Downtime: </strong>%s</div>', - secondsToString(status.interfaces[iface].downtime) + secondsToString(status.interfaces[iface].offline) ); css = 'danger'; break; |