mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:34:49 +00:00
restyle timeseries
This commit is contained in:
parent
f77e4ad3ea
commit
56fbae2eaa
8 changed files with 110 additions and 69 deletions
|
|
@ -53,7 +53,7 @@ page_utils.print_navbar(title, nav_url,
|
|||
Selectively render information pages
|
||||
--]]
|
||||
if page == "historical" then
|
||||
graph_utils.drawNewGraphs(container, interface.getId())
|
||||
graph_utils.drawNewGraphs({ container = container, ifid = interface.getId()})
|
||||
end
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
||||
|
|
|
|||
|
|
@ -52,6 +52,6 @@ page_utils.print_navbar(title, nav_url,
|
|||
}
|
||||
)
|
||||
|
||||
graph_utils.drawNewGraphs(hash_table, interface.getId())
|
||||
graph_utils.drawNewGraphs({ hash_table = hash_table, ifid = interface.getId()})
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ page_utils.print_navbar(title, nav_url,
|
|||
Selectively render information pages
|
||||
--]]
|
||||
if page == "historical" then
|
||||
graph_utils.drawNewGraphs(pod, interface.getId())
|
||||
graph_utils.drawNewGraphs({ pod = pod, ifid = interface.getId()})
|
||||
end
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ print [[/lua/system_stats_data.lua',
|
|||
]]
|
||||
|
||||
elseif(page == "historical" and ts_creation) then
|
||||
graph_utils.drawNewGraphs(nil, interface.getId())
|
||||
graph_utils.drawNewGraphs({ ifid = interface.getId()})
|
||||
elseif page == "internals" then
|
||||
internals_utils.printInternals(getSystemInterfaceId(), false --[[ hash tables ]], true --[[ periodic activities ]], true --[[ checks]], true --[[ queues --]])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue