luci-app-banip: new button "Apply & Restart"
authorDirk Brenken <dev@brenken.org>
Fri, 26 Apr 2024 17:13:12 +0000 (19:13 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 26 Apr 2024 19:36:28 +0000 (21:36 +0200)
commite0d752ac1845dd99355c70ad3d2fd681f0285e2a
tree43ac173805cabf61c94eea49fae37d476e31ff7b
parent1f978052637ef9b7e040e44ee4ce1322d4da6ccb
luci-app-banip: new button "Apply & Restart"

* Many changes to the user interface require a banIP restart, e.g. to restructure the underlying nft rule set. In this case, “Apply & Restart” saves the user an unnecessary “Save & Apply” (followed by a banIP reload & restart to obtain the new nft structure.

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1661b210c80102fb77f1a61d5c658c54ac339289)
Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
applications/luci-app-banip/po/templates/banip.pot