mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add new function to render new timeseries page
This commit is contained in:
parent
186b617072
commit
d90b4ab69b
1 changed files with 10 additions and 0 deletions
|
|
@ -298,6 +298,16 @@ end
|
|||
|
||||
-- #################################################
|
||||
|
||||
function graph_utils.drawNewGraphs()
|
||||
local enable_new_timeseries = ntop.getPref("ntopng.enable_new_timeseries")
|
||||
local recording_utils = require "recording_utils"
|
||||
local traffic_extraction_permitted = recording_utils.isActive(ifid) or recording_utils.isExtractionActive(ifid)
|
||||
local template_utils = require "template_utils"
|
||||
template_utils.render("pages/components/historical_interface.template", { traffic_extraction_permitted = traffic_extraction_permitted })
|
||||
end
|
||||
|
||||
-- #################################################
|
||||
|
||||
function graph_utils.drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selectedEpoch, options, show_graph, render_new_chart)
|
||||
local page_utils =require("page_utils") -- Do not require at the top as it could conflict with script_manager.getMenuEntries
|
||||
local debug_rrd = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue