|
|
@ -289,7 +289,9 @@ |
|
|
<table class="table table-hover table-condensed table-bordered"> |
|
|
<table class="table table-hover table-condensed table-bordered"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th>Local</th> |
|
|
|
|
|
|
|
|
<th>Count</th> |
|
|
|
|
|
<th>Local IP</th> |
|
|
|
|
|
<th>Local Port</th> |
|
|
<th>Foreign</th> |
|
|
<th>Foreign</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
@ -411,7 +413,7 @@ dashboard.getNetstat = function() { |
|
|
$.getJSON('/info/getnetstat/', function(data) { |
|
|
$.getJSON('/info/getnetstat/', function(data) { |
|
|
var tr=''; |
|
|
var tr=''; |
|
|
$.each( data, function( index, item){ |
|
|
$.each( data, function( index, item){ |
|
|
tr+='<tr><td>'+item[0]+'</td><td>'+item[1]+'</td></tr>'; |
|
|
|
|
|
|
|
|
tr+='<tr><td>'+item[0]+'</td><td>'+item[1]+'</td><td>'+item[2]+'</td><td>'+item[3]+'</td></tr>'; |
|
|
}) |
|
|
}) |
|
|
tr+=''; |
|
|
tr+=''; |
|
|
$("#get-netstat").html( tr ); |
|
|
$("#get-netstat").html( tr ); |
|
|
|