Implement "hide from top" preference

This commit is contained in:
emanuele-f 2018-03-05 14:32:44 +01:00
parent 8b1dfdeac3
commit 4c84f1da2f
16 changed files with 355 additions and 57 deletions

View file

@ -3602,6 +3602,12 @@ end
-- ###########################################
function getHideFromTopSet(ifid)
return "ntopng.prefs.iface_" .. ifid .. ".hide_from_top"
end
-- ###########################################
function printWarningAlert(message)
print[[<div class="alert alert-warning alert-dismissable" role="alert">]]
print[[<a class="close" data-dismiss="alert" aria-label="close">&times;</a>]]