Development
This commit is contained in:
parent
1cd744d84b
commit
ebda1cd4a6
2 changed files with 19 additions and 6 deletions
|
|
@ -118,7 +118,10 @@
|
|||
{
|
||||
"col": "ip",
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_ADDRESS"
|
||||
"validate": "VALIDATION_ADDRESS",
|
||||
"attrs": {
|
||||
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"col": "radius_client",
|
||||
|
|
@ -192,12 +195,14 @@
|
|||
"label": "IP Address",
|
||||
"name": "ip",
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_IPV4_FORMAT",
|
||||
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_ADDRESS",
|
||||
"optional": true,
|
||||
"placeholder": "e.g. 192.168.10.50",
|
||||
"hint": "Leave blank to authorize device on this VLAN dynamically.",
|
||||
"attrs": {
|
||||
"data-res-ips-by-vlan": "%RESERVATION_IPS_BY_VLAN_JSON%"
|
||||
"data-res-ips-by-vlan": "%RESERVATION_IPS_BY_VLAN_JSON%",
|
||||
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%",
|
||||
"data-vlan-select": "vlan_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -82,7 +82,11 @@
|
|||
},
|
||||
{
|
||||
"col": "redirect_to",
|
||||
"input_type": "text"
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_ADDRESS",
|
||||
"attrs": {
|
||||
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"col": "enabled",
|
||||
|
|
@ -152,8 +156,12 @@
|
|||
"label": "Redirect To",
|
||||
"name": "redirect_to",
|
||||
"input_type": "text",
|
||||
"validate": "VALIDATION_IPV4_FORMAT",
|
||||
"placeholder": "e.g. 192.168.1.1"
|
||||
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_ADDRESS",
|
||||
"placeholder": "e.g. 192.168.1.1",
|
||||
"attrs": {
|
||||
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%",
|
||||
"data-vlan-select": "vlan_name"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue