summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_status
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_status')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/bandwidth.htm4
-rw-r--r--modules/admin-full/luasrc/view/admin_status/connections.htm2
-rw-r--r--modules/admin-full/luasrc/view/admin_status/load.htm2
-rw-r--r--modules/admin-full/luasrc/view/admin_status/wireless.htm2
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm
index b8a21bd33..e793dde86 100644
--- a/modules/admin-full/luasrc/view/admin_status/bandwidth.htm
+++ b/modules/admin-full/luasrc/view/admin_status/bandwidth.htm
@@ -169,7 +169,7 @@ $Id$
label_scale.innerHTML = String.format('<%:(%d minute window, %d second interval)%>', data_wanted / 60, 3);
/* render datasets, start update interval */
- XHR.poll(3, '<%=build_url("admin/status/bandwidth_status", curdev)%>', null,
+ XHR.poll(3, '<%=build_url("admin/status/realtime/bandwidth_status", curdev)%>', null,
function(x, data)
{
var data_max = 0;
@@ -192,7 +192,7 @@ $Id$
{
var time_delta = data[i][TIME] - data[i-1][TIME];
if (time_delta)
- {
+ {
data_rx.push((data[i][RXB] - data[i-1][RXB]) / time_delta);
data_tx.push((data[i][TXB] - data[i-1][TXB]) / time_delta);
}
diff --git a/modules/admin-full/luasrc/view/admin_status/connections.htm b/modules/admin-full/luasrc/view/admin_status/connections.htm
index dfd12f071..c296cfb6e 100644
--- a/modules/admin-full/luasrc/view/admin_status/connections.htm
+++ b/modules/admin-full/luasrc/view/admin_status/connections.htm
@@ -141,7 +141,7 @@ $Id$
label_scale.innerHTML = String.format('<%:(%d minute window, %d second interval)%>', data_wanted / 60, 3);
/* render datasets, start update interval */
- XHR.poll(3, '<%=build_url("admin/status/connections_status")%>', null,
+ XHR.poll(3, '<%=build_url("admin/status/realtime/connections_status")%>', null,
function(x, json)
{
var conn = json.connections;
diff --git a/modules/admin-full/luasrc/view/admin_status/load.htm b/modules/admin-full/luasrc/view/admin_status/load.htm
index e1e163c70..4537645ca 100644
--- a/modules/admin-full/luasrc/view/admin_status/load.htm
+++ b/modules/admin-full/luasrc/view/admin_status/load.htm
@@ -138,7 +138,7 @@ $Id$
label_scale.innerHTML = String.format('<%:(%d minute window, %d second interval)%>', data_wanted / 60, 3);
/* render datasets, start update interval */
- XHR.poll(3, '<%=build_url("admin/status/load_status")%>', null,
+ XHR.poll(3, '<%=build_url("admin/status/realtime/load_status")%>', null,
function(x, data)
{
var data_max = 0;
diff --git a/modules/admin-full/luasrc/view/admin_status/wireless.htm b/modules/admin-full/luasrc/view/admin_status/wireless.htm
index f70e3b26f..006cee701 100644
--- a/modules/admin-full/luasrc/view/admin_status/wireless.htm
+++ b/modules/admin-full/luasrc/view/admin_status/wireless.htm
@@ -179,7 +179,7 @@ $Id$
label_scale_2.innerHTML = String.format('<%:(%d minute window, %d second interval)%>', data_wanted / 60, 3);
/* render datasets, start update interval */
- XHR.poll(3, '<%=build_url("admin/status/wireless_status", curdev)%>', null,
+ XHR.poll(3, '<%=build_url("admin/status/realtime/wireless_status", curdev)%>', null,
function(x, data)
{
var noise_floor = 255;