Developing lightweight computation at the DSG edge

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

sed -i -e 's/\s\+$//g'...

sed -i -e 's/\s\+$//g' packages/bmx6-luci/files/usr/lib/lua/luci/view/admin_status/index/neighbours_simple.htm
parent 86aee98c
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
td.innerHTML = '<em><br /><%:Some problem with JSON: lenght of originators and descriptions different. %></em>'; td.innerHTML = '<em><br /><%:Some problem with JSON: lenght of originators and descriptions different. %></em>';
return 1; return 1;
} }
if ( originators && descriptions && tb) if ( originators && descriptions && tb)
{ {
/* clear all rows */ /* clear all rows */
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
var tr = tb.insertRow(-1); var tr = tb.insertRow(-1);
tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1); tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1);
tr.insertCell(-1).innerHTML = descriptions[i].DESC_ADV.globalId.replace(/\.[^\.]+$/,""); tr.insertCell(-1).innerHTML = descriptions[i].DESC_ADV.globalId.replace(/\.[^\.]+$/,"");
var extensions = descriptions[i].DESC_ADV.extensions; var extensions = descriptions[i].DESC_ADV.extensions;
//Looking for the extensions //Looking for the extensions
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
break; break;
} }
} }
//Adding first HNA with prefix=128 as main address //Adding first HNA with prefix=128 as main address
var ipstxt = ''; var ipstxt = '';
var address; var address;
...@@ -60,13 +60,13 @@ ...@@ -60,13 +60,13 @@
} }
tr.insertCell(-1).innerHTML = ipstxt; tr.insertCell(-1).innerHTML = ipstxt;
tr.insertCell(-1).innerHTML = originators[i].viaDev; tr.insertCell(-1).innerHTML = originators[i].viaDev;
tr.insertCell(-1).innerHTML = originators[i].metric; tr.insertCell(-1).innerHTML = originators[i].metric;
tr.insertCell(-1).innerHTML = originators[i].lastDesc; tr.insertCell(-1).innerHTML = originators[i].lastDesc;
tr.insertCell(-1).innerHTML = originators[i].lastRef; tr.insertCell(-1).innerHTML = originators[i].lastRef;
tr.insertCell(-1).innerHTML = originators[i].blocked; tr.insertCell(-1).innerHTML = originators[i].blocked;
} }
if( tb.rows.length == 1 ) if( tb.rows.length == 1 )
......
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