Authored by skinny.wu

redis UI 挂起时间改成启动时间

... ... @@ -44,7 +44,7 @@ function loadRedisMonitorData() {
awsIp += "<div class='clearfix mt20'>";
awsIp += "<div class='pull-left'><h5 class='md-title nomargin'>当前连接数</h5><h4 class='nomargin'>" + cccc[2].split(":")[1] + "</h4></div>";
awsIp += "<div class='pull-left' style='margin-left: 135px'><h5 class='md-title nomargin'>caps</h5><h4 class='nomargin'>" + parseInt(Number(cccc[4].split(":")[1])) + "</h4></div>";
awsIp += "<div class='pull-right'><h5 class='md-title nomargin'>挂起时间</h5><h4 class='nomargin'>" + parseInt(Number(cccc[3].split(":")[1])/(24 * 60 * 60)) + " 天前</h4></div>";
awsIp += "<div class='pull-right'><h5 class='md-title nomargin'>启动时间</h5><h4 class='nomargin'>" + parseInt(Number(cccc[3].split(":")[1])/(24 * 60 * 60)) + " 天前</h4></div>";
awsIp += "</div></div></div></div>";
} else if (obj.isFailed == 0) {
... ... @@ -73,7 +73,7 @@ function loadRedisMonitorData() {
qcloudIp += "<div class='clearfix mt20'>";
qcloudIp += "<div class='pull-left'><h5 class='md-title nomargin'>当前连接数</h5><h4 class='nomargin'>" + cccc[2].split(":")[1] + "</h4></div>";
qcloudIp += "<div class='pull-left' style='margin-left: 135px'><h5 class='md-title nomargin'>caps</h5><h4 class='nomargin'>" + parseInt(Number(cccc[4].split(":")[1])) + "</h4></div>";
qcloudIp += "<div class='pull-right'><h5 class='md-title nomargin'>挂起时间</h5><h4 class='nomargin'>" + parseInt(Number(cccc[3].split(":")[1])/(24 * 60 * 60)) + " 天前</h4></div>";
qcloudIp += "<div class='pull-right'><h5 class='md-title nomargin'>启动时间</h5><h4 class='nomargin'>" + parseInt(Number(cccc[3].split(":")[1])/(24 * 60 * 60)) + " 天前</h4></div>";
qcloudIp += "</div></div></div></div>";
} else if (obj.isFailed == 0) {
... ...