Colorizing Local Heard BER like Last-Heard and All Heard
This commit is contained in:
parent
bbfc1ed3da
commit
66b5916a2c
2 changed files with 13 additions and 1 deletions
|
@ -377,6 +377,18 @@
|
||||||
"columnDefs": [
|
"columnDefs": [
|
||||||
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 6 ] }
|
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 6 ] }
|
||||||
],
|
],
|
||||||
|
'rowCallback': function(row, data, index){
|
||||||
|
// Calculating BER
|
||||||
|
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) <= 0.5){
|
||||||
|
$(row).find('td:eq(6)').css('color', 'none');
|
||||||
|
}
|
||||||
|
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) > 0.5){
|
||||||
|
$(row).find('td:eq(6)').css('color', 'orange');
|
||||||
|
}
|
||||||
|
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) > 2){
|
||||||
|
$(row).find('td:eq(6)').css('color', 'red');
|
||||||
|
}
|
||||||
|
},
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
var dashboard_version = "2021-04-25 16:46:31";
|
var dashboard_version = "2021-04-25 16:58:10";
|
||||||
|
|
Loading…
Reference in a new issue