...
|
...
|
@@ -10,6 +10,7 @@ function queryCurrentInfo() { |
|
|
dataType: "json",
|
|
|
success : function(data) {
|
|
|
updateDNSView(eval(data));
|
|
|
updateTimePanel();
|
|
|
$(function () {
|
|
|
$("[data-toggle='popover']").popover();
|
|
|
});
|
...
|
...
|
@@ -39,6 +40,7 @@ function buildIpsTablesHTML(ips) { |
|
|
|
|
|
for(var uid in ips ) {
|
|
|
|
|
|
//uid为1的用户 解析到qcloud的域名, uid为1000的用户,解析到aws的域名
|
|
|
if(uid == 1) {
|
|
|
html += "<tr><td width='10%'><span style='color: darkgray'><strong>QCloud</strong></span></td>";
|
|
|
}else {
|
...
|
...
|
@@ -65,6 +67,8 @@ function buildIpsTablesHTML(ips) { |
|
|
html +="</div></td>";
|
|
|
}
|
|
|
|
|
|
//TODO 超链接到function
|
|
|
//html += "<td><a href='javasrcipt'><span style='font-size: large'>history</span></a></td></tr>";
|
|
|
html += "</tr>";
|
|
|
}
|
|
|
|
...
|
...
|
@@ -101,4 +105,12 @@ function getClass(tagName,className) |
|
|
}
|
|
|
return tagArr;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
function updateTimePanel() {
|
|
|
var date = new Date();
|
|
|
var min = date.getMinutes();
|
|
|
var hour = date.getHours();
|
|
|
|
|
|
document.getElementById("updateTime").innerHTML = hour + ":" + min;
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|