Development
This commit is contained in:
parent
c5953be868
commit
57e473afc7
2 changed files with 7 additions and 7 deletions
|
|
@ -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."
|
"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",
|
"type": "form",
|
||||||
|
|
@ -151,7 +152,8 @@
|
||||||
"text": "The DEFAULT Rule only applies to unknown devices (those without a DHCP reservation/authorization)."
|
"text": "The DEFAULT Rule only applies to unknown devices (those without a DHCP reservation/authorization)."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "hr"
|
"type": "raw_html",
|
||||||
|
"html": "<br>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "form",
|
"type": "form",
|
||||||
|
|
@ -205,11 +207,8 @@
|
||||||
"client_requirement": "client_is_administrator+",
|
"client_requirement": "client_is_administrator+",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"type": "p",
|
"type": "raw_html",
|
||||||
"text": "802.1X authentication modes require a Routlin Pro license."
|
"html": "%RADIUS_PRO_NOTE%"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "hr"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "form",
|
"type": "form",
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,7 @@ def collect_tokens(cfg):
|
||||||
tokens['RADIUS_INNER_PROTOCOL_OPTIONS'] = json.dumps(
|
tokens['RADIUS_INNER_PROTOCOL_OPTIONS'] = json.dumps(
|
||||||
_inner_opts_ttls if _eap_proto == 'eap_ttls' else _inner_opts_peap
|
_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_suffix = '' if PRO_LICENSE else ' (PRO REQUIRED)'
|
||||||
pro_disabled = not PRO_LICENSE
|
pro_disabled = not PRO_LICENSE
|
||||||
tokens['RADIUS_AUTH_MODE_OPTIONS'] = json.dumps([
|
tokens['RADIUS_AUTH_MODE_OPTIONS'] = json.dumps([
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue