mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Implements backend and frontend to show risks docs inline
Addresses #5857
This commit is contained in:
parent
4b197ca2cc
commit
1dd2b00988
8 changed files with 74 additions and 5 deletions
|
|
@ -82,4 +82,13 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function flow_risk_utils.get_documentation_link(risk_id)
|
||||
local url = string.format("https://www.ntop.org/guides/nDPI/flow_risks.html#risk-%.3u", risk_id)
|
||||
local link = string.format('<a href="%s" target="_blank"><i class="fas fa-lg fa-question-circle"></i></a>', url)
|
||||
|
||||
return link
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return flow_risk_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue