Merge pull request #550 from pedro-nonfree/master
luci-app-bmx6: bugfix format to query bmx6-info
This commit is contained in:
commit
51b370e1ce
4 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-bmx6
|
PKG_NAME:=luci-app-bmx6
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
PKG_LICENSE:=GPL-2.0+
|
PKG_LICENSE:=GPL-2.0+
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
|
document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
new TablePooler(5,"/cgi-bin/bmx6-info", {'$neighbours':''}, "descriptions_table", function(st){
|
new TablePooler(5,"/cgi-bin/bmx6-info", {'neighbours':''}, "descriptions_table", function(st){
|
||||||
var infoicon = "<%=resource%>/bmx6/world_small.png";
|
var infoicon = "<%=resource%>/bmx6/world_small.png";
|
||||||
var nodeicon = "<%=resource%>/bmx6/world.png";
|
var nodeicon = "<%=resource%>/bmx6/world.png";
|
||||||
var originators = st.neighbours[0].originators;
|
var originators = st.neighbours[0].originators;
|
||||||
|
|
|
@ -63,7 +63,7 @@ Visit <a href="http://bmx6.net">bmx6.net</a> for more info.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script type="text/javascript">//<![CDATA[
|
||||||
new TablePooler(5,"/cgi-bin/bmx6-info", {'$info':''}, "status_table", function(st){
|
new TablePooler(5,"/cgi-bin/bmx6-info", {'info':''}, "status_table", function(st){
|
||||||
var res = Array();
|
var res = Array();
|
||||||
var sta = st.info[0].status;
|
var sta = st.info[0].status;
|
||||||
var ifaces = st.info[1].interfaces;
|
var ifaces = st.info[1].interfaces;
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script type="text/javascript">//<![CDATA[
|
||||||
new TablePooler(5,"/cgi-bin/bmx6-info", {'$tunnels':''}, "descriptions_table", function(st){
|
new TablePooler(5,"/cgi-bin/bmx6-info", {'tunnels':''}, "descriptions_table", function(st){
|
||||||
var tunicon = "<%=resource%>/icons/tunnel.png";
|
var tunicon = "<%=resource%>/icons/tunnel.png";
|
||||||
var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png";
|
var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png";
|
||||||
var applyicon = "<%=resource%>/cbi/apply.gif";
|
var applyicon = "<%=resource%>/cbi/apply.gif";
|
||||||
|
|
Loading…
Reference in a new issue