diff --git a/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt b/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt index ea5045cdc..2c5f95f6c 100644 --- a/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt +++ b/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt @@ -333,6 +333,17 @@ POSSIBILITY OF SUCH DAMAGE. }); }); + /** + * update (userdefined) rules + */ + $(".act_update").click(function(){ + $(".act_update_progress").addClass("fa fa-spinner fa-pulse"); + ajaxCall(url="/api/ids/service/reloadRules", sendData={}, callback=function(data,status) { + // when done, disable progress animation. + $(".act_update_progress").removeClass("fa fa-spinner fa-pulse"); + }); + }); + /** * update rule definitions */ @@ -466,6 +477,13 @@ POSSIBILITY OF SUCH DAMAGE. +
+
+ + +
+ {{ lang._('Please use "Download & Update Rules" to fetch your initial ruleset, automatic updating can be scheduled after the first download') }} +
@@ -501,6 +519,12 @@ POSSIBILITY OF SUCH DAMAGE. +
+
+ +
+
+
@@ -526,8 +550,15 @@ POSSIBILITY OF SUCH DAMAGE. +
+
+ +
+
+
+
@@ -550,7 +581,6 @@ POSSIBILITY OF SUCH DAMAGE.
- @@ -566,13 +596,6 @@ POSSIBILITY OF SUCH DAMAGE.
-
-
- - -
- {{ lang._('Please use "Download & Update Rules" to fetch your initial ruleset, automatic updating can be scheduled after the first download') }} -