mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Adds historical alerts explorer hyperlinks
This commit is contained in:
parent
44e0d1ef0c
commit
2e86b1cbe6
2 changed files with 4 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ for _key,_value in ipairs(alerts) do
|
|||
|
||||
column_id = column_id.."<input type=hidden name=id_to_delete value="..alert_id.."><input type=hidden name=currentPage value=".. currentPage .."><input type=hidden name=perPage value=".. perPage .."><input type=hidden name=status value="..tostring(status).."><input type=hidden name=alerts_impl value="..tostring(alertsImpl).."><button class='btn btn-default btn-xs' type='submit'><input id=csrf name=csrf type=hidden value='"..ntop.getRandomCSRFValue().."' /><i type='submit' class='fa fa-trash-o'></i></button></form>"
|
||||
|
||||
if ntop.isEnterprise() and status == "historical-flows" then
|
||||
if ntop.isEnterprise() and (status == "historical-flows" or status == "historical") then
|
||||
local explore = function()
|
||||
local url = ntop.getHttpPrefix() .. "/lua/pro/enterprise/flow_alerts_explorer.lua?"
|
||||
local origin = _value["cli_addr"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue