|
|
@@ -680,17 +680,21 @@ td, th { |
|
|
|
let podEventArray = podEvents[task0]; |
|
|
|
if(podEventArray != null){ |
|
|
|
for(var i=0; i < podEventArray.length;i++){ |
|
|
|
html +="<p><b>[" +podEventArray[i]["reason"] + "]</b></p>"; |
|
|
|
html +="<p>" +podEventArray[i]["message"] + "</p>"; |
|
|
|
html +="<p>" +podEventArray[i]["action"] + "</p>"; |
|
|
|
if (podEventArray[i]["reason"]!="") { |
|
|
|
html +="<p><b>[" +podEventArray[i]["reason"] + "]</b></p>"; |
|
|
|
html +="<p>" +podEventArray[i]["message"] + "</p>"; |
|
|
|
html +="<p>" +podEventArray[i]["action"] + "</p>"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
let extras= jsonObj["extras"]; |
|
|
|
if(extras != null){ |
|
|
|
for(var i=0; i < extras.length;i++){ |
|
|
|
html +="<p><b>[" +extras[i]["reason"] + "]</b></p>"; |
|
|
|
html +="<p>" +extras[i]["message"] + "</p>"; |
|
|
|
html +="<p>" +extras[i]["action"] + "</p>"; |
|
|
|
if (extras[i]["reason"]!="") { |
|
|
|
html +="<p><b>[" +extras[i]["reason"] + "]</b></p>"; |
|
|
|
html +="<p>" +extras[i]["message"] + "</p>"; |
|
|
|
html +="<p>" +extras[i]["action"] + "</p>"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@@ -700,8 +704,10 @@ td, th { |
|
|
|
string = string.replace(/\n/g,"<br>"); |
|
|
|
string = string.replace(/(\r\n)|(\n)/g,'<br>'); |
|
|
|
|
|
|
|
html +="<p><b>[ExitDiagnostics]</b></p>"; |
|
|
|
html +="<p>" +string + "</p>"; |
|
|
|
if (string!=""){ |
|
|
|
html +="<p><b>[ExitDiagnostics]</b></p>"; |
|
|
|
html +="<p>" +string + "</p>"; |
|
|
|
} |
|
|
|
|
|
|
|
document.getElementById("info_display").innerHTML=html; |
|
|
|
} |
|
|
|