summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2023-10-03 22:05:41 +0200
committerDirk Brenken <dev@brenken.org>2023-10-03 22:05:41 +0200
commit71de98eea77f567f81da411595990997ea324bc0 (patch)
tree951d7336c944de5037506b1e6dbd6b8699e12551 /applications/luci-app-banip/htdocs/luci-static/resources
parentf3b64fdc9b8ab01dbfaa01c61509166bf58a9096 (diff)
luci-app-banip: sync with banIP-0.9.1
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js11
1 files changed, 9 insertions, 2 deletions
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'));