mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Historical Filters are Lost When Switching Panes #6384
This commit is contained in:
parent
2f0c6ae09b
commit
085af81aa8
6 changed files with 206 additions and 24 deletions
|
|
@ -407,6 +407,23 @@ end
|
|||
|
||||
-- #################################
|
||||
|
||||
function page_utils.get_navbar_context(title, base_url, items_table, label_url, back_url)
|
||||
local help_link = page_utils.menu_entries[active_entry].help_link or nil
|
||||
local icon = page_utils.menu_sections[active_section].icon or ""
|
||||
|
||||
local navbar = {
|
||||
main_icon = icon,
|
||||
main_title = title,
|
||||
base_url = base_url,
|
||||
items_table = items_table,
|
||||
label_url = label_url,
|
||||
back_url = back_url,
|
||||
help_link = help_link
|
||||
}
|
||||
return navbar
|
||||
end
|
||||
-- #################################
|
||||
|
||||
function page_utils.print_navbar(title, base_url, items_table, label_url, back_url)
|
||||
local help_link = page_utils.menu_entries[active_entry].help_link or nil
|
||||
local icon = page_utils.menu_sections[active_section].icon or ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue