Development

This commit is contained in:
Matthew Grotke 2026-06-01 00:25:16 -04:00
parent 5588c55257
commit 632776b0d8

View file

@ -122,12 +122,9 @@
"placeholder": "e.g. Allow Chromecast" "placeholder": "e.g. Allow Chromecast"
}, },
{ {
"type": "field", "type": "field_row",
"label": "Protocol", "cols": 2,
"name": "protocol", "items": [
"input_type": "select",
"options": "%PROTOCOL_OPTIONS%"
},
{ {
"type": "field", "type": "field",
"label": "Source", "label": "Source",
@ -137,10 +134,6 @@
"placeholder": "e.g. 192.168.20.100 or 192.168.20.0/24", "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." "hint": "You may allow either a single device IP or an entire subnet to contact dest."
}, },
{
"type": "field_row",
"cols": 3,
"items": [
{ {
"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",