Development
This commit is contained in:
parent
5588c55257
commit
632776b0d8
1 changed files with 23 additions and 17 deletions
|
|
@ -121,26 +121,19 @@
|
||||||
"input_type": "text",
|
"input_type": "text",
|
||||||
"placeholder": "e.g. Allow Chromecast"
|
"placeholder": "e.g. Allow Chromecast"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"label": "Protocol",
|
|
||||||
"name": "protocol",
|
|
||||||
"input_type": "select",
|
|
||||||
"options": "%PROTOCOL_OPTIONS%"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"label": "Source",
|
|
||||||
"name": "src_ip_or_subnet",
|
|
||||||
"input_type": "text",
|
|
||||||
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR",
|
|
||||||
"placeholder": "e.g. 192.168.20.100 or 192.168.20.0/24",
|
|
||||||
"hint": "You may allow either a single device IP or an entire subnet to contact dest."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "field_row",
|
"type": "field_row",
|
||||||
"cols": 3,
|
"cols": 2,
|
||||||
"items": [
|
"items": [
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"label": "Source",
|
||||||
|
"name": "src_ip_or_subnet",
|
||||||
|
"input_type": "text",
|
||||||
|
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR",
|
||||||
|
"placeholder": "e.g. 192.168.20.100 or 192.168.20.0/24",
|
||||||
|
"hint": "You may allow either a single device IP or an entire subnet to contact dest."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"label": "Destination",
|
"label": "Destination",
|
||||||
|
|
@ -149,6 +142,19 @@
|
||||||
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR",
|
"validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR",
|
||||||
"placeholder": "e.g. 192.168.10.200 or 192.168.10.0/24",
|
"placeholder": "e.g. 192.168.10.200 or 192.168.10.0/24",
|
||||||
"hint": "You may allow either a single device IP or an entire subnet to be reached by source."
|
"hint": "You may allow either a single device IP or an entire subnet to be reached by source."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field_row",
|
||||||
|
"cols": 3,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"label": "Protocol",
|
||||||
|
"name": "protocol",
|
||||||
|
"input_type": "select",
|
||||||
|
"options": "%PROTOCOL_OPTIONS%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue