From 57e473afc7a2358139c1499fc1cdd75bad70c9e5 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sat, 6 Jun 2026 13:51:59 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/pages/radius/content.json | 13 ++++++------- docker/routlin-dash/app/pages/radius/view.py | 1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/routlin-dash/app/pages/radius/content.json b/docker/routlin-dash/app/pages/radius/content.json index 10ab78e..02c232a 100644 --- a/docker/routlin-dash/app/pages/radius/content.json +++ b/docker/routlin-dash/app/pages/radius/content.json @@ -108,7 +108,8 @@ "text": "Unknown or unregistered devices are assigned to this VLAN. For wired switch ports, also set the fallback network in your managed switch's configuration." }, { - "type": "hr" + "type": "raw_html", + "html": "
" }, { "type": "form", @@ -151,7 +152,8 @@ "text": "The DEFAULT Rule only applies to unknown devices (those without a DHCP reservation/authorization)." }, { - "type": "hr" + "type": "raw_html", + "html": "
" }, { "type": "form", @@ -205,11 +207,8 @@ "client_requirement": "client_is_administrator+", "items": [ { - "type": "p", - "text": "802.1X authentication modes require a Routlin Pro license." - }, - { - "type": "hr" + "type": "raw_html", + "html": "%RADIUS_PRO_NOTE%" }, { "type": "form", diff --git a/docker/routlin-dash/app/pages/radius/view.py b/docker/routlin-dash/app/pages/radius/view.py index d1b1983..55840c7 100644 --- a/docker/routlin-dash/app/pages/radius/view.py +++ b/docker/routlin-dash/app/pages/radius/view.py @@ -90,6 +90,7 @@ def collect_tokens(cfg): tokens['RADIUS_INNER_PROTOCOL_OPTIONS'] = json.dumps( _inner_opts_ttls if _eap_proto == 'eap_ttls' else _inner_opts_peap ) + tokens['RADIUS_PRO_NOTE'] = '' if PRO_LICENSE else '

802.1X authentication modes require a Routlin Pro license.


' pro_suffix = '' if PRO_LICENSE else ' (PRO REQUIRED)' pro_disabled = not PRO_LICENSE tokens['RADIUS_AUTH_MODE_OPTIONS'] = json.dumps([