From cc17854b622d89b6096f1cac0bcdd7e00da1405d Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Wed, 21 Apr 2021 21:54:27 +0200 Subject: luci-app-banip: sync with banIP 0.7.7 * support the new 'Whitelist Only' mode * sync translations Signed-off-by: Dirk Brenken --- .../htdocs/luci-static/resources/view/banip/overview.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip') 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 20e1b11dee..55f60b95e5 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 @@ -388,6 +388,10 @@ return view.extend({ Logging such packets may cause an increase in latency due to it requiring additional system resources.')); o.rmempty = false; + o = s.taboption('general', form.Flag, 'ban_whitelistonly', _('Whitelist Only'), _('Restrict the internet access from/to a small number of secure websites/IPs \ + and block access from/to the rest of the internet.')); + o.rmempty = true; + o = s.taboption('general', form.Flag, 'ban_mail_enabled', _('E-Mail Notification'), _('Send banIP related notification e-mails. \ This needs the installation and setup of the additional \'msmtp\' package.')); o.rmempty = false; -- cgit v1.2.3