...
|
...
|
@@ -37,7 +37,7 @@ function getHistroyInfo() { |
|
|
//生成当前页面的表格
|
|
|
function genarateTable(infoList) {
|
|
|
var innerHTML = "<table id='shTable' class='table table-bordered mb30'>";
|
|
|
innerHTML += "<thead><tr><th style='width: 10%;'>time</th><th style='width: 10%;'>host</th><th style='width: 5%;'>uid</th><th style='width: 10%;'>type</th><th style='width: 10%;'>status</th><th style='width: 10%;'>ip</th><th style='width: 10%;'>failedType</th><th style='width: 35%;'>info</th></tr></thead><tbody>";
|
|
|
innerHTML += "<thead><tr><th style='width: 10%;'>time</th><th style='width: 10%;'>host</th><th style='width: 5%;'>uid</th><th style='width: 10%;'>type</th><th style='width: 10%;'>status</th><th style='width: 10%;'>ip</th><th style='width: 15%;'>failedType</th><th style='width: 30%;'>info</th></tr></thead><tbody>";
|
|
|
for(var i = 0; i < infoList.length; i++) {
|
|
|
innerHTML += "<tr><td>"+infoList[i].time+"</td>";
|
|
|
innerHTML += "<td>"+infoList[i].host+"</td>";
|
...
|
...
|
|