From 7f05d5b257e6499aac4d6bfce1ece36772904fc6 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 7 Jun 2026 01:26:13 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/pages/clientcredentials/view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/routlin-dash/app/pages/clientcredentials/view.py b/docker/routlin-dash/app/pages/clientcredentials/view.py index f107178..8013995 100644 --- a/docker/routlin-dash/app/pages/clientcredentials/view.py +++ b/docker/routlin-dash/app/pages/clientcredentials/view.py @@ -72,12 +72,12 @@ def collect_tokens(cfg): vlans = [v for v in cfg.get('vlans', []) if not v.get('is_vpn')] tokens['VLAN_OPTIONS'] = json.dumps( - [{'value': '', 'label': '- Select VLAN -'}] + + [{'value': '', 'label': 'Select VLAN'}] + [{'value': v['name'], 'label': f"{v['name']} (VLAN {v['vlan_id']})"} for v in vlans] ) captive_vlans = [v for v in cfg.get('vlans', []) if v.get('restricted_vlan') == 'c'] tokens['CAPTIVE_VLAN_OPTIONS'] = json.dumps( - [{'value': '', 'label': '- Select VLAN -'}] + + [{'value': '', 'label': 'Select VLAN'}] + [{'value': v['name'], 'label': f"{v['name']} (VLAN {v['vlan_id']})"} for v in captive_vlans] )