From: Dirk Brenken Date: Fri, 6 Oct 2023 14:25:43 +0000 (+0200) Subject: luci-app-banip: sync with banIP-0.9.1 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=26f007f718aa6c2c2f746a126bed7807880f90ca;p=project%2Fluci.git luci-app-banip: sync with banIP-0.9.1 Signed-off-by: Dirk Brenken (cherry picked from commit 71de98eea77f567f81da411595990997ea324bc0) Signed-off-by: Dirk Brenken --- 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 f6b897663f..ef8b293839 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 @@ -410,18 +410,25 @@ 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 = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwards'), _('Always allow certain VLAN forwards.')); 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 = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwards'), _('Always block certain VLAN forwards.')); o.multiple = true; o.nocreate = true; o.optional = true; o.rmempty = true; + o = s.taboption('general', form.ListValue, 'ban_triggeraction', _('Trigger Action'), _('Trigger action on ifup interface events.')); + o.value('start', _('start (default)')); + o.value('reload', _('reload')); + o.value('restart', _('restart')); + 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'));