mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 04:33:58 +01:00
Change data-mask extension to one that supports both IPv4 and IPv6 addresses. Add IPv6 DNS server fields on the settings page
This commit is contained in:
@@ -2,6 +2,17 @@ $(function () {
|
||||
$("[data-mask]").inputmask();
|
||||
});
|
||||
|
||||
$(function(){
|
||||
$("#DNS1IPv4").ipAddress({s:4});
|
||||
$("#DNS2IPv4").ipAddress({s:4});
|
||||
$("#DNS1IPv6").ipAddress({v:6});
|
||||
$("#DNS2IPv6").ipAddress({v:6});
|
||||
|
||||
$("#DHCPfrom").ipAddress({s:4});
|
||||
$("#DHCPto").ipAddress({s:4});
|
||||
$("#DHCProuter").ipAddress({s:4});
|
||||
});
|
||||
|
||||
$(".confirm-reboot").confirm({
|
||||
text: "Are you sure you want to send a reboot command to your Pi-Hole?",
|
||||
title: "Confirmation required",
|
||||
|
||||
Reference in New Issue
Block a user