|
@@ -240,22 +240,24 @@ function getSpotHtml1(htmlbody, i) {
|
|
|
htmlbody += `<tr>
|
|
|
<td> - </td>
|
|
|
<td> - </td>
|
|
|
-
|
|
|
+ <td> - </td>
|
|
|
+ <td> - </td>
|
|
|
</tr>`;
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
}
|
|
|
htmlbody += "<tr>";
|
|
|
- htmlbody += `<tr style="background-color: ${goodColor[i]}">
|
|
|
- <td>${goodid[i]}</td>
|
|
|
- <td>${goodpass[i]}</td>
|
|
|
-
|
|
|
+ htmlbody += `<tr ">
|
|
|
+ <td style="background-color: ${goodColor[i]}">${goodid[i]}</td>
|
|
|
+ <td style="background-color: ${goodColor[i]}">${goodpass[i]}</td>
|
|
|
+ <td style="background-color: ${goodColor1[i]}">${goodid1[i]}</td>
|
|
|
+ <td style="background-color: ${goodColor1[i]}">${goodfailrate1[i] + '%'}</td>
|
|
|
</tr>`;
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
}
|
|
|
|
|
|
-function getSpotHtml3(htmlbody, i) {
|
|
|
+/*function getSpotHtml3(htmlbody, i) {
|
|
|
if(typeof goodid1[i] === "undefined"){
|
|
|
htmlbody += "<tr>";
|
|
|
htmlbody += `<tr>
|
|
@@ -273,7 +275,7 @@ function getSpotHtml3(htmlbody, i) {
|
|
|
</tr>`;
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
-}
|
|
|
+}*/
|
|
|
|
|
|
function getSpotHtml2(htmlbody, i) {
|
|
|
if(typeof badid[i] === "undefined"){
|
|
@@ -281,29 +283,32 @@ function getSpotHtml2(htmlbody, i) {
|
|
|
htmlbody += `<tr>
|
|
|
<td> - </td>
|
|
|
<td> - </td>
|
|
|
-
|
|
|
+ <td> - </td>
|
|
|
+ <td> - </td>
|
|
|
</tr>`;
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
}
|
|
|
htmlbody += "<tr>";
|
|
|
if(typeof badColor[i] === "undefined"){
|
|
|
- htmlbody += `<tr style="background-color: ${badColor[i]}">
|
|
|
- <td>${badid[i]}</td>
|
|
|
- <td>${badpass[i]}</td>
|
|
|
-
|
|
|
+ htmlbody += `<tr>
|
|
|
+ <td style="background-color: ${badColor[i]}">${badid[i]}</td>
|
|
|
+ <td style="background-color: ${badColor[i]}">${badpass[i]}</td>
|
|
|
+ <td style="background-color: ${badColor1[i]}">${badid1[i]}</td>
|
|
|
+ <td style="background-color: ${badColor1[i]}">${badfailrate1[i] + '%'}</td>
|
|
|
</tr>`;
|
|
|
}else {
|
|
|
- htmlbody += `<tr style="background-color: ${badColor[i]}">
|
|
|
- <td>${badid[i]}</td>
|
|
|
- <td>${badpass[i]}</td>
|
|
|
-
|
|
|
+ htmlbody += `<tr >
|
|
|
+ <td style="background-color: ${badColor[i]}">${badid[i]}</td>
|
|
|
+ <td style="background-color: ${badColor[i]}">${badpass[i]}</td>
|
|
|
+ <td style="background-color: ${badColor1[i]}">${badid1[i]}</td>
|
|
|
+ <td style="background-color: ${badColor1[i]}">${badfailrate1[i] + '%'}</td>
|
|
|
</tr>`;
|
|
|
}
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
}
|
|
|
-function getSpotHtml4(htmlbody, i) {
|
|
|
+/*function getSpotHtml4(htmlbody, i) {
|
|
|
if(typeof badid1[i] === "undefined"){
|
|
|
htmlbody += "<tr>";
|
|
|
htmlbody += `<tr>
|
|
@@ -329,7 +334,7 @@ function getSpotHtml4(htmlbody, i) {
|
|
|
}
|
|
|
htmlbody += "</tr>";
|
|
|
return htmlbody;
|
|
|
-}
|
|
|
+}*/
|
|
|
|
|
|
var lastTimeRank0 = "";
|
|
|
var lastTimeRank1 = "";
|
|
@@ -369,7 +374,7 @@ function showEachSpot1() {
|
|
|
}
|
|
|
//console.log(htmlbody);
|
|
|
}
|
|
|
-function showEachSpot3() {
|
|
|
+/*function showEachSpot3() {
|
|
|
|
|
|
var htmlbody = "", one_person = "";
|
|
|
var i = 0;
|
|
@@ -384,7 +389,7 @@ function showEachSpot3() {
|
|
|
lastTimeRank3 = htmlbody;
|
|
|
}
|
|
|
//console.log(htmlbody);
|
|
|
-}
|
|
|
+}*/
|
|
|
|
|
|
function showEachSpot2() {
|
|
|
var htmlbody = "", one_person = "";
|
|
@@ -402,7 +407,7 @@ function showEachSpot2() {
|
|
|
}
|
|
|
//console.log(htmlbody);
|
|
|
}
|
|
|
-function showEachSpot4() {
|
|
|
+/*function showEachSpot4() {
|
|
|
var htmlbody = "", one_person = "";
|
|
|
var i = 0;
|
|
|
var triGap = 3;
|
|
@@ -417,4 +422,4 @@ function showEachSpot4() {
|
|
|
lastTimeRank4 = htmlbody;
|
|
|
}
|
|
|
//console.log(htmlbody);
|
|
|
-}
|
|
|
+}*/
|