mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
New page_utils api to handle sidebar subitems selection
This commit is contained in:
parent
6704ae5040
commit
4f6788fb58
73 changed files with 197 additions and 143 deletions
|
|
@ -8,14 +8,12 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|||
require "lua_utils"
|
||||
local page_utils = require("page_utils")
|
||||
|
||||
active_page = "hosts"
|
||||
local have_nedge = ntop.isnEdge()
|
||||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
page_utils.print_header(i18n("host_pools.host_pools"))
|
||||
page_utils.set_active_menu_entry(page_utils.menu_entries.host_pools)
|
||||
|
||||
local active_page = "hosts"
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
|
||||
print [[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue