Authored by zhengyouwei

add btn-warning

... ... @@ -210,8 +210,10 @@
// span.attr("onclick","singleOp('"+val.ip+"','"+name+"')");
if (val.status == "1") {
span.addClass('btn-success');
} else {
} else if (val.status == "0"){
span.addClass('btn-danger');
}else{
span.addClass('btn-warning');
}
if (val.cloud == "aws") {
aws_div.append(span);
... ...