Merge branch 'devel' into fix/IEonceagain

This commit is contained in:
DL6ER
2017-01-14 13:27:00 +01:00
7 changed files with 134 additions and 92 deletions

View File

@@ -24,7 +24,7 @@ function eventsource() {
}
var host = window.location.host;
var source = new EventSource("http://"+host+"/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact);
var source = new EventSource("/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact);
// Reset and show field
ta.empty();

View File

@@ -2,6 +2,17 @@ $(function () {
$("[data-mask]").inputmask();
});
$(function(){
$("#custom1val").ipAddress({s:4});
$("#custom2val").ipAddress({s:4});
$("#custom3val").ipAddress({v:6});
$("#custom4val").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",