Development

This commit is contained in:
Matthew Grotke 2026-06-06 13:51:59 -04:00
parent c5953be868
commit 57e473afc7
2 changed files with 7 additions and 7 deletions

View file

@ -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": "<br>"
},
{
"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": "<br>"
},
{
"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",

View file

@ -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 '<p class="text-muted">802.1X authentication modes require a Routlin Pro license.</p><br>'
pro_suffix = '' if PRO_LICENSE else ' (PRO REQUIRED)'
pro_disabled = not PRO_LICENSE
tokens['RADIUS_AUTH_MODE_OPTIONS'] = json.dumps([