mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Reworks layout of blacklisted flows and location
This commit is contained in:
parent
f9e3edb19b
commit
47a3d7b2ef
3 changed files with 11 additions and 11 deletions
|
|
@ -254,6 +254,10 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if(value.dhcpHost) then column_ip = column_ip .. " <i class='fa fa-flash fa-lg' title='DHCP Host'></i>" end
|
||||
end
|
||||
|
||||
if host["is_blacklisted"] == true then
|
||||
column_ip = column_ip .. " <span class='label label-danger'>"..i18n("hosts_stats.label_blacklisted_host").."</span>"
|
||||
end
|
||||
|
||||
record["column_ip"] = column_ip
|
||||
|
||||
if(url ~= nil) then
|
||||
|
|
@ -365,10 +369,6 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
column_location = column_location.." <span class='label label-info'><i class='fa fa-sitemap' title='"..i18n("hosts_stats.label_broadcast_domain_host").."'></i></span>"
|
||||
end
|
||||
|
||||
if value["is_blacklisted"] == true then
|
||||
column_location = column_location .. " <span class='label label-danger'>"..i18n("hosts_stats.label_blacklisted_host").."</span>"
|
||||
end
|
||||
|
||||
record["column_location"] = column_location
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue