update channel + txpower
This commit is contained in:
parent
808ee9d7f3
commit
d62f3d62ef
|
@ -54,10 +54,10 @@ function routeNodes(){
|
||||||
+ '<td class="mdl-data-table__cell--non-numeric">2Ghz</td>'
|
+ '<td class="mdl-data-table__cell--non-numeric">2Ghz</td>'
|
||||||
+ '<td>'+internal.nodes[key].statistics.clients.wifi24+'</td>'
|
+ '<td>'+internal.nodes[key].statistics.clients.wifi24+'</td>'
|
||||||
+ '<td>'
|
+ '<td>'
|
||||||
+ '<input class="mdl-textfield__input" type="number" id="freq24_ch_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless.channel2 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel2:'')+'"/>'
|
+ '<input class="mdl-textfield__input" type="number" id="freq24_ch_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.channel2 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel2:'')+'"/>'
|
||||||
+ '</td>'
|
+ '</td>'
|
||||||
+ '<td>'
|
+ '<td>'
|
||||||
+ '<input class="mdl-textfield__input" type="number" id="freq24_tx_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless.txpower2 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower2:'')+'"/>'
|
+ '<input class="mdl-textfield__input" type="number" id="freq24_tx_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.txpower2 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower2:'')+'"/>'
|
||||||
+ '</td>'
|
+ '</td>'
|
||||||
+ '<td class="mdl-data-table__cell--non-numeric" rowspan="2"><i class="material-icons" id="edit_'+key+'">edit</i></td>'
|
+ '<td class="mdl-data-table__cell--non-numeric" rowspan="2"><i class="material-icons" id="edit_'+key+'">edit</i></td>'
|
||||||
+ '<td class="mdl-data-table__cell--non-numeric" rowspan="2">'+sshUrl(key)+'</td>'
|
+ '<td class="mdl-data-table__cell--non-numeric" rowspan="2">'+sshUrl(key)+'</td>'
|
||||||
|
@ -66,10 +66,10 @@ function routeNodes(){
|
||||||
+ '<td class="mdl-data-table__cell--non-numeric" style="padding-left:18px;">5Ghz</td>'
|
+ '<td class="mdl-data-table__cell--non-numeric" style="padding-left:18px;">5Ghz</td>'
|
||||||
+ '<td>'+ internal.nodes[key].statistics.clients.wifi5+'</td>'
|
+ '<td>'+ internal.nodes[key].statistics.clients.wifi5+'</td>'
|
||||||
+ '<td>'
|
+ '<td>'
|
||||||
+ '<input class="mdl-textfield__input" type="number" id="freq5_ch_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless.channel5 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel5:'')+'"/>'
|
+ '<input class="mdl-textfield__input" type="number" id="freq5_ch_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.channel5 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel5:'')+'"/>'
|
||||||
+ '</td>'
|
+ '</td>'
|
||||||
+ '<td style="padding-right:18px;">'
|
+ '<td style="padding-right:18px;">'
|
||||||
+ '<input class="mdl-textfield__input" type="number" id="freq5_tx_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless.txpower5 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower5:'')+'"/>'
|
+ '<input class="mdl-textfield__input" type="number" id="freq5_tx_'+key+'" value="'+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.txpower5 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower5:'')+'"/>'
|
||||||
+ '</td>'
|
+ '</td>'
|
||||||
+ '</td>'
|
+ '</td>'
|
||||||
+ '</tr>'
|
+ '</tr>'
|
||||||
|
|
Loading…
Reference in New Issue