From 294518b146545ba918062504cb8b1e820196fcad Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 25 Apr 2024 14:14:19 +1000 Subject: [PATCH] =?UTF-8?q?Settings=20filter=20v0.2=20=F0=9F=94=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/css/app.css | 29 +++++++++++++++++++ front/plugins/arp_scan/config.json | 2 +- front/plugins/nmap_dev_scan/config.json | 2 +- front/plugins/nslookup_scan/config.json | 2 +- front/settings.php | 37 +++++++++++++++++-------- 5 files changed, 57 insertions(+), 15 deletions(-) diff --git a/front/css/app.css b/front/css/app.css index b163f349..bd58431a 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -902,6 +902,35 @@ input[readonly] { padding: 25px; } +.settingsSearchWrap +{ + padding:10px; +} + +.settings-sticky-bottom-section { + position: fixed; + z-index: 999; + background-color: #2d2d2d; + opacity: 0.8; + bottom: 30px; + border-radius: 5px; + } + + .settings-sticky-bottom-section:hover { + + opacity: 1; + } + +.clear-filter +{ + opacity: 0.5; + cursor: pointer; +} + +.clear-filter:hover +{ + opacity: 1; +} /* ----------------------------------------------------------------- */ /* Devices page */ /* ----------------------------------------------------------------- */ diff --git a/front/plugins/arp_scan/config.json b/front/plugins/arp_scan/config.json index 8ec69c07..8c4613bb 100755 --- a/front/plugins/arp_scan/config.json +++ b/front/plugins/arp_scan/config.json @@ -106,7 +106,7 @@ "description": [ { "language_code": "en_us", - "string": "Specify when your Network-discovery scan will run. Typical setting would be schedule and then you specify a cron-like schedule in the ARPSCAN_RUN_SCHDsetting. ⚠ Use the same schedule if you have multiple Device scanners enabled." + "string": "Specify when your Network-discovery scan will run. Typical setting would be schedule and then you specify a cron-like schedule in the ARPSCAN_RUN_SCHDsetting. ⚠ Use the same schedule if you have multiple Device scanners enabled.

Depends on the SCAN_SUBNETS setting." }, { "language_code": "es_es", diff --git a/front/plugins/nmap_dev_scan/config.json b/front/plugins/nmap_dev_scan/config.json index b1e8b4e8..eb38f150 100755 --- a/front/plugins/nmap_dev_scan/config.json +++ b/front/plugins/nmap_dev_scan/config.json @@ -82,7 +82,7 @@ "description": [ { "language_code": "en_us", - "string": "Specify when your Network-discovery scan will run. Typical setting would be schedule and then you specify a cron-like schedule in the NMAPDEV_RUN_SCHDsetting. ⚠ Use the same schedule if you have multiple Device scanners enabled." + "string": "Specify when your Network-discovery scan will run. Typical setting would be schedule and then you specify a cron-like schedule in the NMAPDEV_RUN_SCHDsetting. ⚠ Use the same schedule if you have multiple Device scanners enabled.

Depends on the SCAN_SUBNETS setting." }, { "language_code": "es_es", diff --git a/front/plugins/nslookup_scan/config.json b/front/plugins/nslookup_scan/config.json index e9641408..2904b3f0 100755 --- a/front/plugins/nslookup_scan/config.json +++ b/front/plugins/nslookup_scan/config.json @@ -112,7 +112,7 @@ }], "description": [{ "language_code":"en_us", - "string" : "Only enabled if you select schedule in the NSLOOKUP_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes." + "string" : "Only enabled if you select schedule in the NSLOOKUP_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes.

Depends on the SCAN_SUBNETS setting." }, { "language_code":"es_es", diff --git a/front/settings.php b/front/settings.php index 1d3e4379..0350a7bc 100755 --- a/front/settings.php +++ b/front/settings.php @@ -102,13 +102,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) { - +
@@ -151,15 +145,34 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
-
-
- + + +
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+ +
+
-
+
+ + @@ -471,7 +484,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) { inputHtml += ` -
+