From dd8bd05aa0b1d6764f20c6946f9772617c9677ff Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Thu, 22 Apr 2021 07:57:14 +0100 Subject: [PATCH] Set default-color to none on LOSS and BER instead of black --- html/index.html | 5 ++--- html/js/version.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/html/index.html b/html/index.html index 51f3d38..dee6b8d 100644 --- a/html/index.html +++ b/html/index.html @@ -27,7 +27,6 @@ - DG9VH - MMDVM-Dashboard by DG9VH @@ -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'); diff --git a/html/js/version.js b/html/js/version.js index d9ccb21..30445fb 100644 --- a/html/js/version.js +++ b/html/js/version.js @@ -1 +1 @@ -var dashboard_version = "2021-04-21 21:23:20"; +var dashboard_version = "2021-04-22 07:57:14";