Set default-color to none on LOSS and BER instead of black
This commit is contained in:
parent
579c32050a
commit
dd8bd05aa0
2 changed files with 3 additions and 4 deletions
|
@ -27,7 +27,6 @@
|
|||
<script type="text/javascript" src="js/config.js"></script>
|
||||
<script type="text/javascript" src="metar.js/metar.js"></script>
|
||||
<script type="text/javascript" src="js/functions.js"></script>
|
||||
<!--<link rel="stylesheet" href="css/styles.css">-->
|
||||
<link rel="stylesheet" href="css/tooltip.css">
|
||||
<link href="open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet">
|
||||
<title>DG9VH - MMDVM-Dashboard by DG9VH</title>
|
||||
|
@ -342,7 +341,7 @@
|
|||
'rowCallback': function(row, data, index){
|
||||
// Calculating LOSS
|
||||
if(parseInt(data[6].substring(0, data[6].indexOf("%"))) <= 5){
|
||||
$(row).find('td:eq(6)').css('color', 'black');
|
||||
$(row).find('td:eq(6)').css('color', 'none');
|
||||
}
|
||||
if(parseInt(data[6].substring(0, data[6].indexOf("%"))) > 5){
|
||||
$(row).find('td:eq(6)').css('color', 'orange');
|
||||
|
@ -354,7 +353,7 @@
|
|||
// Calculating BER
|
||||
$(row).find('td:eq(7)').css('color', 'black');
|
||||
if(parseFloat(data[7].substring(0, data[7].indexOf("%"))) <= 0.5){
|
||||
$(row).find('td:eq(7)').css('color', 'black');
|
||||
$(row).find('td:eq(7)').css('color', 'none');
|
||||
}
|
||||
if(parseFloat(data[7].substring(0, data[7].indexOf("%"))) > 0.5){
|
||||
$(row).find('td:eq(7)').css('color', 'orange');
|
||||
|
|
|
@ -1 +1 @@
|
|||
var dashboard_version = "2021-04-21 21:23:20";
|
||||
var dashboard_version = "2021-04-22 07:57:14";
|
||||
|
|
Loading…
Reference in a new issue