mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
migrating to new layout
This commit is contained in:
parent
cbe3eb1bc8
commit
bfe36dce4b
4 changed files with 38 additions and 4 deletions
|
|
@ -41,7 +41,17 @@ page_utils.set_active_menu_entry(page_utils.menu_entries.endpoint_notifications)
|
|||
|
||||
-- append the menu above the page
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
page_utils.print_page_title(i18n("endpoint_notifications.endpoint_list"))
|
||||
|
||||
local url = ntop.getHttpPrefix() .. "/lua/admin/endpoint_notifications_list.lua"
|
||||
page_utils.print_navbar(i18n("endpoint_notifications.endpoint_list"), url, {
|
||||
{
|
||||
active = true,
|
||||
page_name = "home",
|
||||
label = "<i class=\"fas fa-lg fa-home\"></i>",
|
||||
url = url
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- localize endpoint name types in a table
|
||||
local endpoints_types = notification_configs.get_types(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue