Development

This commit is contained in:
Matthew Grotke 2026-06-02 14:09:05 -04:00
parent c63098edc0
commit 91b11c618b
8 changed files with 112 additions and 231 deletions

View file

@ -57,42 +57,10 @@
"row_actions": [
{
"client_requirement": "client_is_administrator+",
"action": "/action/intervlan/table_edit",
"method": "inline_edit",
"method": "js_edit",
"target": "add-form",
"text": "Edit",
"class": "btn-ghost btn-sm",
"fields": [
{
"col": "description",
"input_type": "text"
},
{
"col": "protocol",
"input_type": "select",
"options": "%PROTOCOL_OPTIONS%"
},
{
"col": "src_ip_or_subnet",
"input_type": "text"
},
{
"col": "dst_ip_or_subnet",
"input_type": "text"
},
{
"col": "dest_port_start",
"input_type": "number"
},
{
"col": "dest_port_end",
"input_type": "number"
},
{
"col": "enabled",
"input_type": "checkbox",
"checkbox_label": "Enabled"
}
]
"class": "btn-ghost btn-sm"
},
{
"client_requirement": "client_is_administrator+",
@ -114,6 +82,11 @@
"action": "/action/intervlan/addexception_add",
"method": "post",
"items": [
{
"type": "hidden",
"name": "row_index",
"value": ""
},
{
"type": "field",
"label": "Description",
@ -178,6 +151,12 @@
"type": "raw_html",
"html": "<p class=\"form-hint\" style=\"margin-top:-1rem\">This exception only applies to traffic matching the selected protocol and destination port range.</p>"
},
{
"type": "field",
"label": "Enabled",
"name": "enabled",
"input_type": "checkbox"
},
{
"type": "button_row",
"items": [