mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Makes host pools visible in the community version
This commit is contained in:
parent
e5a57d93ad
commit
72d4630114
3 changed files with 14 additions and 20 deletions
|
|
@ -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'
|
||||
}
|
||||
},
|
||||
]]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue