summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-bmx7
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-bmx7')
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm6
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm8
-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/topology.htm4
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm8
5 files changed, 17 insertions, 17 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 32a3a965ce..c8ddb2d8e8 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
@@ -18,8 +18,8 @@
</div>
</div>
-<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
-<script type="text/javascript">//<![CDATA[
+<script src="<%=resource%>/bmx7/js/polling.js"></script>
+<script>
new TablePooler(10,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){
var originators = st.originators;
var res = Array();
@@ -37,4 +37,4 @@
});
return res;
});
-//]]></script>
+</script>
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 16522b962c..bbbeb52c0e 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
@@ -22,8 +22,8 @@
-%>
<%+header%>
-<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
-<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
+<script src="<%=resource%>/cbi.js"></script>
+<script src="<%=resource%>/bmx7/js/polling.js"></script>
<style>
@@ -88,7 +88,7 @@
</div>
-<script type="text/javascript">//<![CDATA[
+<script>
var displayExtraInfo = function ( id ) {
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
}
@@ -150,6 +150,6 @@
});
return res;
});
-//]]></script>
+</script>
<%+footer%>
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 a3249a2b14..bfabf1ea50 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
@@ -1,6 +1,6 @@
<%+header%>
-<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
-<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
+<script src="<%=resource%>/cbi.js"></script>
+<script src="<%=resource%>/bmx7/js/polling.js"></script>
<div class="cbi-map">
<center>
@@ -87,7 +87,7 @@
</div>
-<script type="text/javascript">//<![CDATA[
+<script>
new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "config_div", function(st){
var res = Array();
var sta = st.info[0].status;
@@ -125,6 +125,6 @@
return res;
});
-//]]></script>
+</script>
<%+footer%>
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
index 4a688bde61..1f09cc4ac1 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
@@ -1,9 +1,9 @@
<%+header%>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js" integrity="sha512-uy3foVtL4u0+5430l7zZt4PHjVtICfrbu3mtzdanR425sKD7kS5264djeZAzNIV0l4vc1QkFpW2+G5i5KoJIFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
-<script type="text/javascript" src="<%=resource%>/bmx7/js/netjsongraph.js"></script>
+<script src="<%=resource%>/bmx7/js/netjsongraph.js"></script>
<link href="<%=resource%>/bmx7/css/netjsongraph.css" rel="stylesheet">
- <style type="text/css">
+<style>
body {
font-family: Arial, sans-serif;
font-size: 13px;
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 0b9662df8c..9b99cdd325 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
@@ -22,8 +22,8 @@
<%+header%>
-<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
-<script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script>
+<script src="<%=resource%>/cbi.js"></script>
+<script src="<%=resource%>/bmx7/js/polling.js"></script>
<div class="cbi-map">
<h2>Gateway announcements</h2>
@@ -50,7 +50,7 @@
</div>
-<script type="text/javascript">//<![CDATA[
+<script>
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";
@@ -71,6 +71,6 @@
}
return res;
});
-//]]></script>
+</script>
<%+footer%>