Makes host pools visible in the community version

This commit is contained in:
Simone Mainardi 2017-01-26 14:54:12 +01:00
parent e5a57d93ad
commit 72d4630114
3 changed files with 14 additions and 20 deletions

View file

@ -11,12 +11,6 @@ sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
if (not ntop.isPro()) then
return
end
local test = interface.getHostPoolsStats()
active_page = "hosts"
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
@ -64,6 +58,18 @@ print [[
css: {
textAlign: 'left'
}
},{
title: "Chart",
field: "column_chart",
]]
if not ntop.isPro() then
print('hidden: true,')
end
print[[
sortable: false,
css: {
textAlign: 'center'
}
},
]]