|
@@ -157,12 +157,12 @@
|
|
|
|
|
|
//Do a quick summary
|
|
|
var failRatio = (failed) / (succ + failed) * 100;
|
|
|
- if (failRatio > 30){
|
|
|
- $("#normalStatus").parent().attr("class","ui yellow header");
|
|
|
- $("#normalStatus").text("LOW RISK");
|
|
|
- }else if (failRatio > 50){
|
|
|
+ if (failRatio > 70){
|
|
|
$("#normalStatus").parent().attr("class","ui red header");
|
|
|
$("#normalStatus").text("HIGH RISK");
|
|
|
+ }else if (failRatio > 50){
|
|
|
+ $("#normalStatus").parent().attr("class","ui yellow header");
|
|
|
+ $("#normalStatus").text("LOW RISK");
|
|
|
}else{
|
|
|
// No problem
|
|
|
$("#normalStatus").parent().attr("class","ui green header");
|