Authored by qinchao

伸缩组扩容:显示样式finally

... ... @@ -63,10 +63,10 @@ function getColumns(){
var ips = "";
for(var index = 0;index < instances.length;index++){
var healthCss=' style="background-color: #5bc0de;font-weight:normal;" ';
var runningStatusMessage = '&nbsp;&nbsp;<span class="badge" style="background-color: #5bc0de;font-weight:normal;"><i class="fa fa-check-circle fa-2x" aria-hidden="true"></i></span>';
var runningStatusMessage = '&nbsp;&nbsp;<a href="#" title="健康"><span class="badge" style="background-color: #5bc0de;font-weight:normal;"><i class="fa fa-check-circle" aria-hidden="true"></i></span></a>';
if("Healthy"!=instances[index].runningStatus){
healthCss=' style="background-color: #DD514D;font-weight:normal;" ';
runningStatusMessage='&nbsp;&nbsp;<span class="badge" style="background-color: #DD514D;font-weight:normal;"><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i></span>';
runningStatusMessage='&nbsp;&nbsp;<a href="#" title="异常"><span class="badge" style="background-color: #DD514D;font-weight:normal;"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></span></a>';
}
/*var test=' <span class="badge" style="background-color: #5bc0de;font-weight:normal;">异常</span>';*/
var protectedB = instances[index].protected;
... ...