Commit 54844699 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) work in progress template

parent d1efcb8f
{# select Captiveportal zone item #} {# select Captiveportal zone item #}
{% set cp_zone_item = [] %} {% set cp_zone_item = [] %}
{% for item in OPNsense.captiveportal.zones.zone %} {% for item in helpers.toList('OPNsense.captiveportal.zones.zone') %}
{% if TARGET_FILTERS['OPNsense.captiveportal.zones.zone.' ~ loop.index0] or TARGET_FILTERS['OPNsense.captiveportal.zones.zone'] %} {% if TARGET_FILTERS['OPNsense.captiveportal.zones.zone.' ~ loop.index0] or TARGET_FILTERS['OPNsense.captiveportal.zones.zone'] %}
{# found zone, search for interface ip #} {# found zone, search for interface ip #}
{% for intf_tag in item.interfaces.split(',') %} {% for intf_tag in item.interfaces.split(',') %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment