From c7f56df0a6a6bf8ddb750c765369ba98c9823027 Mon Sep 17 00:00:00 2001 From: Ghalid <24234921+Ghalid@users.noreply.github.com> Date: Thu, 19 Dec 2019 23:18:04 -0500 Subject: [PATCH 001/298] Disable spellcheck for some text fields, changed some input field types Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com> --- custom_dns.php | 2 +- list.php | 2 +- queryads.php | 2 +- settings.php | 30 +++++++++++++++--------------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/custom_dns.php b/custom_dns.php index 5e594d7c7..d52763291 100644 --- a/custom_dns.php +++ b/custom_dns.php @@ -17,7 +17,7 @@
Export your Pi-hole lists as downloadable archive
Export your Pi-hole configuration (settings & lists) as a downloadable archive
If not configured as your DHCP server, Pi-hole won't be able to + Conditional forwarding +
If not configured as your DHCP server, Pi-hole typically won't be able to determine the names of devices on your local network. As a result, tables such as Top Clients will only show IP addresses.
One solution for this is to configure Pi-hole to forward these - requests to your DHCP server (most likely your router), but only for devices on your - home network. To configure this we will need to know the IP - address of your DHCP server and the name of your local network.
Note: The local domain name must match the domain name specified - in your DHCP server, likely found within the DHCP settings.
If your local network spans 192.168.0.1 - 192.168.0.255, then you will have to input + 192.168.0.0/24. If your local network is 192.168.47.1 - 192.168.47.255, it will + be 192.168.47.0/24 and similar. If your network is larger, the CIDR has to be + different, for instance a range of 10.8.0.1 - 10.8.255.255 results in 10.8.0.0/16, + whereas an even wider network of 10.0.0.1 - 10.255.255.255 results in 10.0.0.0/8. + Feel free to reach out to us on our + Discourse forum + in case you need any assistance setting up local host name resolution for your particular system.
192.168.0.0/24
192.168.47.0/24
10.8.0.0/16
10.0.0.0/8
You can also specify a local domain name (like fritz.box) to ensure queries to + devices ending in your local domain name will not leave your network, however, this is optional. + The local domain name must match the domain name specified + in your DHCP server for this to work. You can likely find it within the DHCP settings.
fritz.box
Status
Upload debug log and provide token once finished
Once you click this button a debug log will be generated and can automatically be uploaded if we detect a working internet connection.
Open Source Ad Blocker Designed For Raspberry Pi @@ -300,26 +300,10 @@ function pidofFTL()
Backup your Pi-hole configuration (settings & lists) as a downloadable archive
Upload only Pi-hole backup files.
style Signed-off-by: DL6ER --- style/themes/default-dark.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style/themes/default-dark.css b/style/themes/default-dark.css index 7e11e499d..db2db37ae 100644 --- a/style/themes/default-dark.css +++ b/style/themes/default-dark.css @@ -378,3 +378,11 @@ h4 { .bg-red { background-color: #913225 !important; } + +code { + padding: 2px 4px; + font-size: 90%; + color: #bec5cb; + background-color: #353c42; + border-radius: 4px; +} \ No newline at end of file From 8468f129eba856da6cf1e345bbf0db213ef3d119 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 29 Apr 2020 20:10:31 +0200 Subject: [PATCH 081/298] Dark mode optimizations for Query Log and Long-term graphics Signed-off-by: DL6ER --- db_graph.php | 61 ++++++++++++++++------------ scripts/pi-hole/js/queries.js | 7 ++-- style/pi-hole.css | 28 ------------- style/themes/default-dark.css | 73 +++++++++++++++++++++++++++++++--- style/themes/default-light.css | 29 ++++++++++++++ 5 files changed, 136 insertions(+), 62 deletions(-) diff --git a/db_graph.php b/db_graph.php index c010ef334..55d72d970 100644 --- a/db_graph.php +++ b/db_graph.php @@ -17,49 +17,60 @@ - Compute graphical statistics from the Pi-hole query database - - - - - Date and time range: - - - - + + + + + Select date and time range + + + + + + + +