summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-babeld/luasrc/view/babeld.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-babeld/luasrc/view/babeld.htm')
-rw-r--r--applications/luci-app-babeld/luasrc/view/babeld.htm22
1 files changed, 0 insertions, 22 deletions
diff --git a/applications/luci-app-babeld/luasrc/view/babeld.htm b/applications/luci-app-babeld/luasrc/view/babeld.htm
deleted file mode 100644
index d3436f0e69..0000000000
--- a/applications/luci-app-babeld/luasrc/view/babeld.htm
+++ /dev/null
@@ -1,22 +0,0 @@
-<%+header%>
-<script type="text/javascript" src="<%=resource%>/babeld.js"></script>
-
-<div id="babeld"></div>
-
-<script type="text/javascript">
- data = {};
- data["ubus_rpc_session"] = "<%=luci.dispatcher.context.authsession%>"
- origin = document.location.href.replace(location.pathname, "")
- ubus_url = origin + "/ubus/"
-
- var info = ubus_call("babeld", "get_info", {});
- var xroutes = ubus_call("babeld", "get_xroutes", {});
- var routes = ubus_call("babeld", "get_routes", {});
- var neighbours = ubus_call("babeld", "get_neighbours", {});
-
- renderTableInfo(info, 'babeld');
- renderTableXRoutes(xroutes, 'babeld');
- renderTableRoutes(routes, 'babeld');
- renderTableNeighbours(neighbours, 'babeld');
-</script>
-<%+footer%>