mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Host Pools UI changes
- Do now show the "Not Assigned" group in user pool dropdown - Show an alert message when creating a Captive Portal user and no pools are defined - Improve unique member validator to account missing network prefixes - Prevent deleting an Host Group when a captive portal user is defined on it
This commit is contained in:
parent
1bd0d01658
commit
0db8abd83e
11 changed files with 120 additions and 39 deletions
|
|
@ -11,9 +11,7 @@ sendHTTPHeader('text/html; charset=iso-8859-1')
|
|||
if(haveAdminPrivileges()) then
|
||||
interface.select(ifname)
|
||||
|
||||
ifstats = interface.getStats()
|
||||
is_bridge_iface = (ifstats["bridge.device_a"] ~= nil) and (ifstats["bridge.device_b"] ~= nil)
|
||||
is_captive_portal_enabled = ntop.getPrefs()["is_captive_portal_enabled"]
|
||||
is_captive_portal_active = isCaptivePortalActive()
|
||||
|
||||
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue