Developing lightweight computation at the DSG edge

Commit 064a718f authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

sed -i -e 's/\s\+$//g' packages/bmx6-luci/files/usr/lib/lua/luci/view/bmx6/gateways_j.htm

parent ad3e71bf
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
function(x, st) function(x, st)
{ {
var tb = document.getElementById('descriptions_table'); var tb = document.getElementById('descriptions_table');
var rowcount = 0; var rowcount = 0;
var tunicon = "<%=resource%>/icons/tunnel.png"; var tunicon = "<%=resource%>/icons/tunnel.png";
/* clear all rows */ /* clear all rows */
while( tb.rows.length > 1 ) tb.deleteRow(1); while( tb.rows.length > 1 ) tb.deleteRow(1);
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
{ {
var description = st[k].DESC_ADV; var description = st[k].DESC_ADV;
var tun4in6; var tun4in6;
for ( var k in description.extensions ) for ( var k in description.extensions )
{ {
var value = description.extensions[k]; var value = description.extensions[k];
if ( value.TUN4IN6_NET_EXTENSION ) if ( value.TUN4IN6_NET_EXTENSION )
{ {
tun4in6 = value.TUN4IN6_NET_EXTENSION; tun4in6 = value.TUN4IN6_NET_EXTENSION;
break; break;
} }
} }
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
var network = tun4in6[i].network; var network = tun4in6[i].network;
var network_len = tun4in6[i].networklen; var network_len = tun4in6[i].networklen;
var network_bw = tun4in6[i].bandwidth; var network_bw = tun4in6[i].bandwidth;
if ( network_len >= 32 ) continue; if ( network_len >= 32 ) continue;
tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((rowcount++ % 2) + 1); tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((rowcount++ % 2) + 1);
...@@ -50,8 +50,8 @@ ...@@ -50,8 +50,8 @@
tr.insertCell(-1).innerHTML = nodename; tr.insertCell(-1).innerHTML = nodename;
tr.insertCell(-1).innerHTML = network + '/' + network_len; tr.insertCell(-1).innerHTML = network + '/' + network_len;
tr.insertCell(-1).innerHTML = network_bw; tr.insertCell(-1).innerHTML = network_bw;
} }
if( tb.rows.length == 1 ) if( tb.rows.length == 1 )
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
div.hideme{ div.hideme{
display: none; display: none;
} }
div.info{ div.info{
background: #FFF; background: #FFF;
border: solid 1px; border: solid 1px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment