Various ZMQ enhancementent

Set the icon size of some external links to the correct size
This commit is contained in:
Luca Deri 2016-03-15 19:51:38 +01:00
parent 34d88b1708
commit 07c839489e
10 changed files with 36 additions and 17 deletions

View file

@ -118,7 +118,7 @@ for _key, _value in pairsByKeys(vals, funct) do
local k = string.gsub(key, "%.", "___") -- Needed as JQuery does not like . in id= field
print('\"key\" : \"'.. k ..'\",\n')
print(' \"column_http_virtual_host\" : \"<A HREF=http://'..key..'>'..key.."</A> <i class='fa fa-external-link fa-lg'></i>")
print(' \"column_http_virtual_host\" : \"<A HREF=http://'..key..'>'..key.."</A> <i class='fa fa-external-link'></i>")
print(" <A HREF='")
url = ntop.getHttpPrefix().."/lua/flows_stats.lua?vhost="..key