From 56bbacbeca5dcd7e71d4e2bd22c15f338f878506 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sun, 16 Jul 2023 07:37:44 +0200 Subject: luci-app-banip: sync with banIP 0.9.0-1 Signed-off-by: Dirk Brenken --- .../htdocs/luci-static/resources/view/banip/overview.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'applications/luci-app-banip/htdocs/luci-static/resources') diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js index a11fde7dc9..896b3194d4 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js @@ -414,6 +414,20 @@ return view.extend({ o.optional = true; o.rmempty = true; + o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwads'), _('Always allow certain VLAN forwards.')); + o.unspecified = true; + o.multiple = true; + o.nocreate = true; + o.optional = true; + o.rmempty = true; + + o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwads'), _('Always block certain VLAN forwards.')); + o.unspecified = true; + o.multiple = true; + o.nocreate = true; + o.optional = true; + o.rmempty = true; + o = s.taboption('adv_chain', form.ListValue, 'ban_blockpolicy', _('Default Block Policy'), _('By default each feed is active in all supported chains. Limit the default block policy to a certain chain.')); o.value('input', _('WAN-Input Chain')); o.value('forwardwan', _('WAN-Forward Chain')); -- cgit v1.2.3