mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Minor prefernces chnge
This commit is contained in:
parent
cd1c66f377
commit
d0c5e192c0
2 changed files with 7378 additions and 7366 deletions
|
|
@ -1902,24 +1902,25 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
|
||||
local showAggregateFlowsPrefs = ntop.isEnterpriseXL() and ntop.isClickHouseEnabled()
|
||||
prefsInputFieldPrefs(subpage_active.entries["toggle_flow_aggregated_limit"].title,
|
||||
subpage_active.entries["toggle_flow_aggregated_limit"].description, "ntopng.prefs.",
|
||||
"max_aggregated_flows_upperbound", prefs.max_aggregated_flows_upperbound, "number", showAggregateFlowsPrefs,
|
||||
false, nil, {
|
||||
min = 1000,
|
||||
max = 100000
|
||||
})
|
||||
|
||||
subpage_active.entries["toggle_flow_aggregated_limit"].description, "ntopng.prefs.",
|
||||
"max_aggregated_flows_upperbound", prefs.max_aggregated_flows_upperbound or 1000,
|
||||
"number", showAggregateFlowsPrefs,
|
||||
false, nil, {
|
||||
min = 1000,
|
||||
max = 100000
|
||||
})
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["toggle_flow_aggregated_traffic_limit"].title,
|
||||
subpage_active.entries["toggle_flow_aggregated_traffic_limit"].description, "ntopng.prefs.",
|
||||
"max_aggregated_flows_traffic_upperbound", prefs.max_aggregated_flows_traffic_upperbound, "number",
|
||||
showAggregateFlowsPrefs, false, nil, {
|
||||
min = 5,
|
||||
max = 5000
|
||||
})
|
||||
subpage_active.entries["toggle_flow_aggregated_traffic_limit"].description, "ntopng.prefs.",
|
||||
"max_aggregated_flows_traffic_upperbound", prefs.max_aggregated_flows_traffic_upperbound or 5, "number",
|
||||
showAggregateFlowsPrefs, false, nil, {
|
||||
min = 0,
|
||||
max = 5000
|
||||
})
|
||||
print(
|
||||
'<tr><th colspan=2 style="text-align:right;"><button type="submit" class="btn btn-primary" style="width:115px" disabled="disabled">' ..
|
||||
i18n("save") .. '</button></th></tr>')
|
||||
|
||||
'<tr><th colspan=2 style="text-align:right;"><button type="submit" class="btn btn-primary" style="width:115px" disabled="disabled">' ..
|
||||
i18n("save") .. '</button></th></tr>')
|
||||
|
||||
print [[<input name="csrf" type="hidden" value="]]
|
||||
print(ntop.getRandomCSRFValue())
|
||||
print [[" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue