mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Host pools UI improvements
This commit is contained in:
parent
c9abac9034
commit
6c7871596e
5 changed files with 54 additions and 37 deletions
|
|
@ -124,7 +124,6 @@ else -- a captive portal user is being added
|
|||
<div class="form-group has-feedback">
|
||||
<label class="form-label">Host Pool</label>
|
||||
<select name="host_pool_id" id="host_pool_id" class="form-control">
|
||||
<option value="">No host pool</option>
|
||||
]]
|
||||
|
||||
local pool_ids = host_pools_utils.listPools(getInterfaceId(ifname))
|
||||
|
|
@ -171,11 +170,6 @@ print[[<div class="form-group has-feedback">
|
|||
return(false);
|
||||
}
|
||||
|
||||
if($("#full_name_input").val().length < 5) {
|
||||
add_user_alert.error("Full name too short (5 or more characters)");
|
||||
return(false);
|
||||
}
|
||||
|
||||
if($("#password_input").val().length < 5) {
|
||||
add_user_alert.error("Password too short (5 or more characters)");
|
||||
return(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue