mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added logic to report dropbox sharing information
This commit is contained in:
parent
486f7af810
commit
b775657f59
8 changed files with 108 additions and 25 deletions
|
|
@ -229,6 +229,10 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if value["childSafe"] then column_ip = column_ip .. getSafeChildIcon() end
|
||||
|
||||
local host = interface.getHostInfo(hosts_stats[key].ip, hosts_stats[key].vlan)
|
||||
if((host ~= nil) and (host.has_dropbox_shares == true)) then
|
||||
column_ip = column_ip .."<i class='fa fa-dropbox'></i>"
|
||||
end
|
||||
|
||||
if((host ~= nil) and (host.country ~= nil) and (host.country ~= "")) then
|
||||
column_ip = column_ip .." <a href='".. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country="..host.country.."'><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(host.country) .."'></a> "
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue