Settings filter v0.4 + docs for #653 🔍

This commit is contained in:
jokob-sk
2024-04-26 07:37:19 +10:00
parent c11deeb57f
commit 944619af81
3 changed files with 18 additions and 4 deletions

View File

@@ -11,9 +11,9 @@ You need to specify the network interface and the network mask. You can also con
> Please use the UI to configure settings as that ensures that the config file is in the correct format. Edit `app.conf` directly only when really necessary.
> ![settings](/front/plugins/arp_scan/arp-scan-settings.png)
* Examples for one and two subnets (❗ Note the `['...', '...']` format):
* Examples for one and two subnets (❗ Note the `['...','...']` format):
* One subnet: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0']`
* Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0', '192.168.1.0/24 --interface=eth1 -vlan=107']`
* Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0','192.168.1.0/24 --interface=eth1 -vlan=107']`
## Explanation

View File

@@ -718,6 +718,11 @@ height: 50px;
}
}
.settingswrap
{
margin-bottom: 100px;
}
.settingswrap .metadata
{
display: none;
@@ -728,6 +733,11 @@ height: 50px;
float: right;
}
.padding-bottom
{
padding-bottom: 100px;
}
.settings-group
{
font-size: 20px;
@@ -922,7 +932,7 @@ input[readonly] {
}
.settings-sticky-bottom-section:hover {
border-color: #000;
border-color: #258744;
}
.clear-filter

View File

@@ -92,7 +92,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
</section>
<section class="content-header">
<div class ="bg-white color-palette box panel panel-default col-sm-12 box-default box-info panel panel-default panel-title" >
<div class ="bg-white color-palette box box-solid box-primary col-sm-12 panel panel-default panel-title" >
<!-- Settings imported time -->
@@ -151,6 +151,10 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
<!-- /.content -->
<section class=" padding-bottom col-sm-12">
<!-- needed so the filter & save button don't hide the settings -->
</section>
<section class=" settings-sticky-bottom-section col-sm-10">
<div class="col-sm-8 settingsSearchWrap form-group has-success bg-white color-palette ">