From 5588c552570afca5df3ca8c03bbfc23c58d60099 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Mon, 1 Jun 2026 00:22:54 -0400 Subject: [PATCH] Development --- .../app/pages/intervlan/content.json | 64 +++++++++---------- 1 file changed, 29 insertions(+), 35 deletions(-) diff --git a/docker/routlin-dash/app/pages/intervlan/content.json b/docker/routlin-dash/app/pages/intervlan/content.json index 6859e90..c965f0f 100644 --- a/docker/routlin-dash/app/pages/intervlan/content.json +++ b/docker/routlin-dash/app/pages/intervlan/content.json @@ -121,6 +121,13 @@ "input_type": "text", "placeholder": "e.g. Allow Chromecast" }, + { + "type": "field", + "label": "Protocol", + "name": "protocol", + "input_type": "select", + "options": "%PROTOCOL_OPTIONS%" + }, { "type": "field", "label": "Source", @@ -130,48 +137,35 @@ "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", - "label": "Destination", - "name": "dst_ip_or_subnet", - "input_type": "text", - "validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR", - "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." - }, { "type": "field_row", - "cols": 2, + "cols": 3, "items": [ { - "type": "field_row", - "cols": 2, - "items": [ - { - "type": "field", - "label": "Dest Port Range", - "name": "dst_port_min", - "input_type": "number", - "min": 1, - "max": 65535, - "hint": "This exception only applies to traffic over this port range and protocol." - }, - { - "type": "field", - "label": "", - "name": "dst_port_max", - "input_type": "number", - "min": 1, - "max": 65535 - } - ] + "type": "field", + "label": "Destination", + "name": "dst_ip_or_subnet", + "input_type": "text", + "validate": "VALIDATION_IPV4_FORMAT|VALIDATION_IPV4_CIDR", + "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." }, { "type": "field", - "label": "Protocol", - "name": "protocol", - "input_type": "select", - "options": "%PROTOCOL_OPTIONS%" + "label": "Dest Port Range Start", + "name": "dst_port_min", + "input_type": "number", + "min": 1, + "max": 65535, + "hint": "This exception only applies to traffic over this port range." + }, + { + "type": "field", + "label": "Dest Port Range End", + "name": "dst_port_max", + "input_type": "number", + "min": 1, + "max": 65535 } ] },