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",
|
"col": "ip",
|
||||||
"input_type": "text",
|
"input_type": "text",
|
||||||
"validate": "VALIDATION_ADDRESS"
|
"validate": "VALIDATION_ADDRESS",
|
||||||
|
"attrs": {
|
||||||
|
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"col": "radius_client",
|
"col": "radius_client",
|
||||||
|
|
@ -192,12 +195,14 @@
|
||||||
"label": "IP Address",
|
"label": "IP Address",
|
||||||
"name": "ip",
|
"name": "ip",
|
||||||
"input_type": "text",
|
"input_type": "text",
|
||||||
"validate": "VALIDATION_IPV4_FORMAT",
|
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_ADDRESS",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"placeholder": "e.g. 192.168.10.50",
|
"placeholder": "e.g. 192.168.10.50",
|
||||||
"hint": "Leave blank to authorize device on this VLAN dynamically.",
|
"hint": "Leave blank to authorize device on this VLAN dynamically.",
|
||||||
"attrs": {
|
"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",
|
"col": "redirect_to",
|
||||||
"input_type": "text"
|
"input_type": "text",
|
||||||
|
"validate": "VALIDATION_ADDRESS",
|
||||||
|
"attrs": {
|
||||||
|
"data-vlan-subnets": "%VLAN_SUBNET_INFO_JSON%"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"col": "enabled",
|
"col": "enabled",
|
||||||
|
|
@ -152,8 +156,12 @@
|
||||||
"label": "Redirect To",
|
"label": "Redirect To",
|
||||||
"name": "redirect_to",
|
"name": "redirect_to",
|
||||||
"input_type": "text",
|
"input_type": "text",
|
||||||
"validate": "VALIDATION_IPV4_FORMAT",
|
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_ADDRESS",
|
||||||
"placeholder": "e.g. 192.168.1.1"
|
"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