mirror of
https://github.com/pi-hole/web.git
synced 2026-02-15 07:25:39 +00:00
Address team decisions
- change checkboxes order; - remove all lines if all checkboxes are unselected. Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -116,10 +116,10 @@ require 'scripts/pi-hole/php/header_authenticated.php';
|
||||
<div class="filter_types">
|
||||
<div class="line">
|
||||
<span><input type="checkbox" name="typ" value="0" id="typ0" checked><label for="typ0">Exact whitelist</label></span>
|
||||
<span><input type="checkbox" name="typ" value="1" id="typ1" checked><label for="typ1">Exact blacklist</label></span>
|
||||
<span><input type="checkbox" name="typ" value="2" id="typ2" checked><label for="typ2">Regex whitelist</label></span>
|
||||
</div>
|
||||
<div class="line">
|
||||
<span><input type="checkbox" name="typ" value="2" id="typ2" checked><label for="typ2">Regex whitelist</label></span>
|
||||
<span><input type="checkbox" name="typ" value="1" id="typ1" checked><label for="typ1">Exact blacklist</label></span>
|
||||
<span><input type="checkbox" name="typ" value="3" id="typ3" checked><label for="typ3">Regex blacklist</label></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -410,10 +410,6 @@ $.fn.dataTable.ext.search.push(function (settings, searchData, index, rowData) {
|
||||
})
|
||||
.get();
|
||||
|
||||
if (types.length === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (types.indexOf(rowData.type.toString()) !== -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user