7 var callgetData
= rpc
.declare({
8 object
: 'status.olsrd2',
12 function createTable(data
) {
14 data
.node
.forEach(row
=> {
15 let node
= E('a',{ 'href': 'https://' + row
.node
+ '/cgi-bin-olsrd2-neigh.html'},row
.node
);
24 title
: _('OLSRD2 mesh nodes'),
25 handleSaveApply
: null,
29 render: function(data
) {
31 var tr
= E('table', { 'class': 'table' });
32 tr
.appendChild(E('tr', { 'class': 'tr cbi-section-table-titles' }, [
33 E('th', { 'class': 'th left' }, [ 'IP Address' ])
38 ]).then((results
) => {
39 cbi_update_table(tr
, createTable(results
[0]));