Development

This commit is contained in:
Matthew Grotke 2026-06-02 00:47:03 -04:00
parent 6d9aac0460
commit 59ac3c5973
20 changed files with 1466 additions and 1 deletions

View file

@ -0,0 +1,7 @@
def collect_tokens(cfg):
vlans = cfg.get('vlans', [])
vlan_names = [v.get('name', '') for v in vlans]
filter_opts = '<option value="all">All VLANs</option>' + ''.join(
f'<option value="{n}">{n}</option>' for n in vlan_names
)
return {'VLAN_FILTER_OPTIONS': filter_opts}