luci-app-banip: sync with banIP-0.9.1
authorDirk Brenken <[email protected]>
Fri, 6 Oct 2023 14:25:43 +0000 (16:25 +0200)
committerDirk Brenken <[email protected]>
Fri, 6 Oct 2023 14:25:43 +0000 (16:25 +0200)
Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 71de98eea77f567f81da411595990997ea324bc0)
Signed-off-by: Dirk Brenken <[email protected]>
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js

index f6b897663f5c55299e2b4b2cd5a056155376f455..ef8b293839d1608c0023d731c423da7de99366b7 100644 (file)
@@ -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'));