Authored by qinchao

伸缩组扩容:显示样式finally

... ... @@ -21,6 +21,7 @@
href="<%=basePath%>css/bootstrap-responsive.min.css"/>
<link rel="stylesheet" href="<%=basePath%>css/uniform.css"/>
<link rel="stylesheet" href="<%=basePath%>css/select2.css"/>
<link rel="stylesheet" href="<%=basePath%>css/font-awesome.min.css"/>
<script src="<%=basePath%>js/excanvas.min.js" charset="UTF-8"
type="text/javascript"></script>
<script src="<%=basePath%>js/jquery-1.12.0.min.js" charset="UTF-8"
... ... @@ -180,7 +181,7 @@
</div>
<script src="<%=basePath%>script/common/genarate_left_panel.js"></script>
<script src="<%=basePath%>script/autoscaling/autoscaling_new.js?v=3"></script>
<script src="<%=basePath%>script/autoscaling/autoscaling_new.js?v=4"></script>
<script>
$("#li_manager").addClass("active open");
$("#li_autoscaling").addClass("active");
... ...
... ... @@ -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: #337ab7;font-weight:normal;">健康</span>';
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>';
if("Healthy"!=instances[index].runningStatus){
healthCss=' style="background-color: #DD514D;font-weight:normal;" ';
runningStatusMessage='&nbsp;&nbsp;<span class="badge" style="background-color: #337ab7;font-weight:normal;">异常</span>';
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>';
}
/*var test=' <span class="badge" style="background-color: #5bc0de;font-weight:normal;">异常</span>';*/
var protectedB = instances[index].protected;
... ...