summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-bmx7/root/usr
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-10-29 17:29:20 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-10-29 17:03:55 +0000
commit016941039223f1cb62a3eafa0bf2e8194f19c8a8 (patch)
tree8e06f5620ddaf5384782f77f7c12fe2c02f4c2d8 /applications/luci-app-bmx7/root/usr
parentf193364c2c5aadad50e118d5e0b6d59ba436a486 (diff)
luci-app-bmx7: fix displaying values
Suggested-by: FreifunkUFO <ufo@rund.freifunk.net> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'applications/luci-app-bmx7/root/usr')
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm2
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm2
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm8
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm2
4 files changed, 7 insertions, 7 deletions
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm
index 8a6aefaa20..32a3a965ce 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm
@@ -20,7 +20,7 @@
<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
<script type="text/javascript">//<![CDATA[
- new TablePooler(10,"/cgi-bin/bmx7-info", {'$originators':''}, "nodes_div", function(st){
+ new TablePooler(10,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){
var originators = st.originators;
var res = Array();
originators.forEach(function(originator,i){
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm
index a631c93e89..16522b962c 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm
@@ -92,7 +92,7 @@
var displayExtraInfo = function ( id ) {
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
}
- new TablePooler(5,"/cgi-bin/bmx7-info", {'$originators':''}, "nodes_div", function(st){
+ new TablePooler(5,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){
var infoicon = "<%=resource%>/bmx7/world_small.png";
var originators = st.originators;
var res = Array();
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm
index 8ecae656f7..a3249a2b14 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm
@@ -88,14 +88,14 @@
</div>
<script type="text/javascript">//<![CDATA[
- new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "config_div", function(st){
+ new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "config_div", function(st){
var res = Array();
var sta = st.info[0].status;
res.push([sta.shortId, sta.name, sta.primaryIp, sta.nodeKey, sta.shortDhash, sta.revision]);
return res;
});
- new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "status_div", function(st){
+ new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "status_div", function(st){
var res = Array();
var sta = st.info[0].status;
var mem = st.info[3].memory.bmx7;
@@ -105,7 +105,7 @@
return res;
});
- new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "ifaces_div", function(st){
+ new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "ifaces_div", function(st){
var res = Array();
var ifaces = st.info[1].interfaces;
@@ -115,7 +115,7 @@
return res;
});
- new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "links_div", function(st){
+ new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "links_div", function(st){
var res = Array();
links = st.info[2].links;
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm
index 9348e7c610..0b9662df8c 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm
@@ -51,7 +51,7 @@
</div>
<script type="text/javascript">//<![CDATA[
- new TablePooler(5,"/cgi-bin/bmx7-info", {'$tunnels':''}, "tunnels_div", function(st){
+ new TablePooler(5,"/cgi-bin/bmx7-info", {'tunnels':''}, "tunnels_div", function(st){
var tunicon = "<%=resource%>/icons/tunnel.png";
var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png";
var applyicon = "<%=resource%>/cbi/apply.gif";