Make SSL alerts configurable from preferences

This commit is contained in:
emanuele-f 2017-05-10 17:40:13 +02:00
parent 63928325c8
commit 073537faff
8 changed files with 25 additions and 3 deletions

View file

@ -188,6 +188,12 @@ function printAlerts()
"toggle_alert_probing", "ntopng.prefs.probing_alerts", "0",
false, nil, nil, showElements)
toggleTableButtonPrefs(subpage_active.entries["toggle_ssl_alerts"].title, subpage_active.entries["toggle_ssl_alerts"].description,
"On", "1", "success",
"Off","0", "danger",
"toggle_ssl_alerts", "ntopng.prefs.ssl_alerts", "0",
false, nil, nil, showElements)
toggleTableButtonPrefs(subpage_active.entries["toggle_malware_probing"].title, subpage_active.entries["toggle_malware_probing"].description,
"On", "1", "success",
"Off", "0", "danger",