Authored by Xu

添加时间

... ... @@ -32,13 +32,13 @@ function refreshTable() {
},
{
title: "QPS(分钟)",
width: "150",
width: "100",
field: "count",
sortable: true,
},
{
title: "QPS(秒)",
width: "150",
width: "100",
field: "count",
sortable: true,
formatter: function (value, rowData, rowIndex) {
... ... @@ -47,13 +47,18 @@ function refreshTable() {
},
{
title: "百分比",
width: "150",
width: "80",
field: "percent",
formatter: function (value, rowData, rowIndex) {
return value + "%";
}
},
{
title: "时间",
width: "200",
field: "time"
},
{
title: "详情",
width: "200px",
field: "ip",
... ...
... ... @@ -62,6 +62,9 @@ function remove(){
}else{
if(data.data.status == '0'){
alert('移除成功!');
$("#lookTable input[type='checkbox']:checked").each(function(){
$(this).parent().parent().parent().remove();
});
}else{
alert('移除失败:'+data.data.message);
}
... ...
... ... @@ -76,7 +76,7 @@
<h5>恶意ip top 100</h5>
</div>
<div class="widget-title" style="height: 53px;">
<div class="widget-title" style="height: 43px;">
<div>
<div class="form-inline" role="form" id="inBoxQueryDiv" style=" margin-top: 12px;margin-left: 25px;float: left;">
<div class="input-group" style="float: left; margin-left: 20px">
... ...
... ... @@ -64,7 +64,7 @@
<input type="hidden" id="ip" value='${ip}'>
<input type="hidden" id="count" value='${count}'>
<!-- 右侧具体内容 -->
<div class="widget-box" style="overflow-y: auto; overflow-x:hidden;max-height: 300px">
<div class="widget-box" style="margin-top: 0px">
<div class="widget-title" style="height: 53px;">
<div>
<div class="form-inline" role="form" id="inBoxQueryDiv" style=" margin-top: 12px;margin-left: 25px;float: left;">
... ... @@ -77,7 +77,7 @@
</div>
</div>
</div>
<div id="lookTable" />
<div id="lookTable" style="margin-top: 0px;overflow-y: auto; overflow-x:hidden;max-height: 500px" />
</div>
</body>
<script src="<%=basePath %>js/pagination.js"></script>
... ...