|
@@ -63,18 +63,17 @@ function getColumns(){ |
|
@@ -63,18 +63,17 @@ function getColumns(){ |
63
|
var ips = "";
|
63
|
var ips = "";
|
64
|
for(var index = 0;index < instances.length;index++){
|
64
|
for(var index = 0;index < instances.length;index++){
|
65
|
var healthCss=' style="background-color: #5bc0de;font-weight:normal;" ';
|
65
|
var healthCss=' style="background-color: #5bc0de;font-weight:normal;" ';
|
66
|
- var runningStatusMessage = ' <span class="badge" style="background-color: #f37b1d;font-weight:normal;">健康</span>';
|
66
|
+ var runningStatusMessage = ' <span class="badge" style="background-color: #337ab7;font-weight:normal;">健康</span>';
|
67
|
if("Healthy"!=instances[index].runningStatus){
|
67
|
if("Healthy"!=instances[index].runningStatus){
|
68
|
- healthCss=' style="background-color: #5bc0de;font-weight:normal;" ';
|
|
|
69
|
- runningStatusMessage=' <span class="badge" style="background-color: #dd514c;font-weight:normal;">异常</span>';
|
|
|
70
|
- // runningStatusMessage='<span class="glyphicon glyphicon-align-left">fdf</span>';
|
68
|
+ healthCss=' style="background-color: #DD514D;font-weight:normal;" ';
|
|
|
69
|
+ runningStatusMessage=' <span class="badge" style="background-color: #337ab7;font-weight:normal;">异常</span>';
|
71
|
}
|
70
|
}
|
72
|
-
|
71
|
+/* var test=' <span class="badge" style="background-color: #DD514D;font-weight:normal;">异常</span>';*/
|
73
|
var protectedB = instances[index].protected;
|
72
|
var protectedB = instances[index].protected;
|
74
|
var canScaleMessage='' ;
|
73
|
var canScaleMessage='' ;
|
75
|
if(protectedB != null && protectedB != undefined){
|
74
|
if(protectedB != null && protectedB != undefined){
|
76
|
if(protectedB){
|
75
|
if(protectedB){
|
77
|
- canScaleMessage = ' <a href="#" title="该主机免于缩减"><span class="badge" style="background-color:#5bc0de;font-weight:normal;">免</span></a>';
|
76
|
+ canScaleMessage = ' <a href="#" title="该主机免于缩减"><span class="badge" style="background-color:#337ab7;font-weight:normal;">免</span></a>';
|
78
|
}else{
|
77
|
}else{
|
79
|
canScaleMessage = ' ';
|
78
|
canScaleMessage = ' ';
|
80
|
}
|
79
|
}
|