mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Score visualization improvements
This commit is contained in:
parent
3783f0c7a5
commit
6edecb12cb
15 changed files with 41 additions and 30 deletions
|
|
@ -11,8 +11,6 @@ local format_utils = require "format_utils"
|
|||
local json = require "dkjson"
|
||||
local have_nedge = ntop.isnEdge()
|
||||
|
||||
local debug_score = (ntop.getPref("ntopng.prefs.beta_score") == "1")
|
||||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
-- Table parameters
|
||||
|
|
@ -299,12 +297,6 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
column_name = column_name .. " <i class='fas fa-ban' title='"..i18n("hosts_stats.blocking_traffic_policy_popup_msg").."'></i>"
|
||||
end
|
||||
|
||||
if debug_score then
|
||||
if(value["score"] > 0) then
|
||||
column_name = column_name .. string.format(" [<b>score: %u</b>]", value["score"])
|
||||
end
|
||||
end
|
||||
|
||||
record["column_name"] = column_name
|
||||
|
||||
if value["vlan"] > 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue