From 7bcf7a6837d51d10e0ac236fdd6d6f82027aa5fb Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Wed, 27 May 2026 10:34:37 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 52 ++++++++++++++++++++++ docker/routlin-dash/data/page_content.json | 10 ++++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index 5617fc8..6cb6ff2 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -1204,6 +1204,58 @@ def _render_item(item, tokens, inherited_req=None): value = e(apply_tokens(item.get('value', ''), tokens)) return f'' + if t == 'identity_builder': + label = e(item.get('label', 'Self Ident(s):')) + return ( + '
' + f'' + '
' + '
' + '' + '' + '' + '' + '' + '' + '' + '
IP AddressDescriptionHostname
No identities added.
' + '
' + '
' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
IP Address:' + '' + '' + '
Description (Opt):
Hostname (Opt):' + '' + '' + '
' + '
' + '
' + '' + '' + '' + '
' + ) + if t == 'field': return _render_field(item, tokens) diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index ab87f20..b7d8672 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -1569,7 +1569,8 @@ }, { "col": "subnet", - "input_type": "text" + "input_type": "text", + "validate": "subnet" }, { "col": "subnet_mask", @@ -1694,6 +1695,13 @@ { "type": "hr" }, + { + "type": "identity_builder", + "label": "Self Ident(s):" + }, + { + "type": "hr" + }, { "type": "field", "label": "Blocklists",