mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Adapts the Web UI to browse pcap dumps
This commit is contained in:
parent
97e9f98c00
commit
c770d413e3
8 changed files with 91 additions and 55 deletions
|
|
@ -117,7 +117,7 @@ function print_single_group(value)
|
|||
if (group_col == "local_network_id" or network_n ~= nil) then
|
||||
print(value["name"]..'</A> ')
|
||||
print('", "column_chart": "')
|
||||
if(tonumber(value["id"]) ~= -1) then
|
||||
if tonumber(value["id"]) ~= -1 and interface.isPcapDumpInterface() == false then
|
||||
print('<A HREF='..ntop.getHttpPrefix()..'/lua/network_details.lua?network='..value["id"]..'&page=historical><i class=\'fa fa-area-chart fa-lg\'></i></A>')
|
||||
else
|
||||
print("-")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue