Avoid timeseries read operations to display the chart icon

Now the icon is displayed whenever the timeseries are enabled for the given context
This commit is contained in:
emanuele-f 2020-02-19 13:26:05 +01:00
parent 5b70db90ad
commit d1140ec9fd
42 changed files with 201 additions and 149 deletions

View file

@ -1087,6 +1087,9 @@ function printStatsTimeseries()
"ntopng.prefs.ts_high_resolution", has_custom_housekeeping,
nil, nil, nil, influx_active)
prefsInputFieldPrefs(subpage_active.entries["influxdb_query_timeout"].title, subpage_active.entries["influxdb_query_timeout"].description,
"ntopng.prefs.", "influx_query_timeout", "10", "number", influx_active, nil, nil, {min=1})
print('<thead class="thead-light"><tr><th colspan=2 class="info">'..i18n('prefs.interfaces_timeseries')..'</th></tr></thead>')
-- TODO: make also per-category interface RRDs