mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +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
|
|
@ -11,7 +11,7 @@ local page_utils = require("page_utils")
|
|||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
page_utils.print_header(i18n("layer_2"))
|
||||
page_utils.set_active_menu_entry(page_utils.menu_entries.devices)
|
||||
|
||||
if (group_col == nil) then
|
||||
group_col = "mac"
|
||||
|
|
@ -19,8 +19,6 @@ end
|
|||
|
||||
local have_nedge = ntop.isnEdge()
|
||||
|
||||
active_page = "hosts"
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
|
||||
local base_url = ntop.getHttpPrefix() .. "/lua/macs_stats.lua"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue