From bdca8104e5484dc111d4d5383e09be7062c7871d Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 13 May 2020 21:18:54 +0200 Subject: [PATCH] Add better select menu allowing users to filter inside the dropdown as well as add new entries in place. Signed-off-by: DL6ER --- groups-clients.php | 8 +++-- scripts/pi-hole/js/groups-clients.js | 47 ++++++++++++++++++---------- scripts/pi-hole/php/groups.php | 8 ++--- scripts/pi-hole/php/header.php | 2 ++ scripts/vendor/select2.min.js | 2 ++ style/vendor/select2.min.css | 1 + 6 files changed, 46 insertions(+), 22 deletions(-) create mode 100644 scripts/vendor/select2.min.js create mode 100644 style/vendor/select2.min.css diff --git a/groups-clients.php b/groups-clients.php index 6888ccc9..de6361ed 100644 --- a/groups-clients.php +++ b/groups-clients.php @@ -30,14 +30,18 @@
- +
+
+
+

You can select an existing client or add a custom one by typing into the field above and confirming your entry with . Clients can be described either by their IP addresses (IPv4 and IPv6 are supported), IP subnets (CIDR notation, like 192.168.2.0/24) or by their MAC addresses. Note that client recognition by MAC addresses only work for devices at most one networking hop away from your Pi-hole.

+
+