From 3b618add097b3099d2d5d428a18b5c8fcbcadb0e Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 26 Jul 2020 21:40:07 +0200 Subject: [PATCH 1/4] Adds ALL to list selector in Local DNS Records and CNAME Records Signed-off-by: yubiuser --- scripts/pi-hole/js/customcname.js | 4 ++++ scripts/pi-hole/js/customdns.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/scripts/pi-hole/js/customcname.js b/scripts/pi-hole/js/customcname.js index 37d4983c..a5f9edb9 100644 --- a/scripts/pi-hole/js/customcname.js +++ b/scripts/pi-hole/js/customcname.js @@ -65,6 +65,10 @@ $(function () { } } ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomCNAME").on("click", deleteCustomCNAME); } diff --git a/scripts/pi-hole/js/customdns.js b/scripts/pi-hole/js/customdns.js index d2f4ad56..9419e0a2 100644 --- a/scripts/pi-hole/js/customdns.js +++ b/scripts/pi-hole/js/customdns.js @@ -65,6 +65,10 @@ $(function () { } } ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomDNS").on("click", deleteCustomDNS); } From 2667eb1c267c51c8c2ab8e79b92bb5b3c4974f75 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 2 Aug 2020 20:42:42 +0200 Subject: [PATCH 2/4] Fix indentation Signed-off-by: yubiuser --- scripts/pi-hole/js/customdns.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pi-hole/js/customdns.js b/scripts/pi-hole/js/customdns.js index 9419e0a2..d3011608 100644 --- a/scripts/pi-hole/js/customdns.js +++ b/scripts/pi-hole/js/customdns.js @@ -65,10 +65,10 @@ $(function () { } } ], - lengthMenu: [ - [10, 25, 50, 100, -1], - [10, 25, 50, 100, "All"] - ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomDNS").on("click", deleteCustomDNS); } From 70f5664beaa2d19b9df4d7451bf24466f982b351 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 2 Aug 2020 20:52:32 +0200 Subject: [PATCH 3/4] Fix indentation for custom CNAME as well Signed-off-by: yubiuser --- scripts/pi-hole/js/customcname.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pi-hole/js/customcname.js b/scripts/pi-hole/js/customcname.js index a5f9edb9..d7140177 100644 --- a/scripts/pi-hole/js/customcname.js +++ b/scripts/pi-hole/js/customcname.js @@ -65,10 +65,10 @@ $(function () { } } ], - lengthMenu: [ - [10, 25, 50, 100, -1], - [10, 25, 50, 100, "All"] - ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomCNAME").on("click", deleteCustomCNAME); } From 02e0b1639da282852c71c634c86ebe32a9472eb1 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 2 Aug 2020 22:16:41 +0200 Subject: [PATCH 4/4] XO fixes Signed-off-by: yubiuser --- scripts/pi-hole/js/customcname.js | 8 ++++---- scripts/pi-hole/js/customdns.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/pi-hole/js/customcname.js b/scripts/pi-hole/js/customcname.js index d7140177..a5f9edb9 100644 --- a/scripts/pi-hole/js/customcname.js +++ b/scripts/pi-hole/js/customcname.js @@ -65,10 +65,10 @@ $(function () { } } ], - lengthMenu: [ - [10, 25, 50, 100, -1], - [10, 25, 50, 100, "All"] - ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomCNAME").on("click", deleteCustomCNAME); } diff --git a/scripts/pi-hole/js/customdns.js b/scripts/pi-hole/js/customdns.js index d3011608..36987379 100644 --- a/scripts/pi-hole/js/customdns.js +++ b/scripts/pi-hole/js/customdns.js @@ -65,10 +65,10 @@ $(function () { } } ], - lengthMenu: [ - [10, 25, 50, 100, -1], - [10, 25, 50, 100, "All"] - ], + lengthMenu: [ + [10, 25, 50, 100, -1], + [10, 25, 50, 100, "All"] + ], drawCallback: function () { $(".deleteCustomDNS").on("click", deleteCustomDNS); }