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
|
|
@ -6,7 +6,6 @@ local dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
if((dirs.scriptdir ~= nil) and (dirs.scriptdir ~= "")) then package.path = dirs.scriptdir .. "/lua/modules/?.lua;" .. package.path end
|
||||
active_page = "system_interfaces_stats"
|
||||
|
||||
require "lua_utils"
|
||||
local page_utils = require("page_utils")
|
||||
|
|
@ -18,7 +17,7 @@ end
|
|||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
page_utils.print_header(i18n("system_interfaces_status"))
|
||||
page_utils.set_active_menu_entry(page_utils.menu_entries.interfaces_status)
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue