Development

This commit is contained in:
Matthew Grotke 2026-05-31 23:17:30 -04:00
parent 5575b06b64
commit 6cd41dff1a
4 changed files with 56 additions and 33 deletions

View file

@ -261,7 +261,11 @@
"input_type": "number",
"layout": "inline",
"value": "%DDNS_GEN_LOG_MAX_KB%",
"min": "64"
"min": "64",
"hint": "Log will automatically be cleared when it reaches this size."
},
{
"type": "hr"
},
{
"type": "field",

View file

@ -143,29 +143,35 @@
"type": "field_row",
"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": "Protocol",
"name": "protocol",
"input_type": "select",
"options": "%PROTOCOL_OPTIONS%"
},
{
"type": "field",
"label": "Port Min",
"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": "Port Max",
"name": "dst_port_max",
"input_type": "number",
"min": 1,
"max": 65535
}
]
},

View file

@ -760,7 +760,7 @@ def collect_tokens():
'<th class="table-header">Applied</th>'
'<th class="table-header">Change</th>'
'<th class="table-header">Fields</th>'
'<th class="table-header">Group</th>'
'<th class="table-header">Change ID</th>'
'<th class="table-header">User</th>'
'</tr></thead>'
f'<tbody>{hist_rows}</tbody>'