mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01:00
Merge branch 'devel' into fix/IPv6field
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
$(function () {
|
||||
$("[data-mask]").inputmask();
|
||||
});
|
||||
$("[data-mask]").inputmask();
|
||||
|
||||
$("[data-static]").on("click", function(){
|
||||
var row = $(this).closest("tr");
|
||||
var mac = row.find("#MAC").text();
|
||||
var ip = row.find("#IP").text();
|
||||
var host = row.find("#HOST").text();
|
||||
$("input[name=\"AddHostname\"]").val(host);
|
||||
$("input[name=\"AddIP\"]").val(ip);
|
||||
$("input[name=\"AddMAC\"]").val(mac);
|
||||
});
|
||||
|
||||
$(".confirm-reboot").confirm({
|
||||
text: "Are you sure you want to send a reboot command to your Pi-Hole?",
|
||||
@@ -64,6 +73,7 @@ $(document).ready(function() {
|
||||
{
|
||||
leasetable = $("#DHCPLeasesTable").DataTable({
|
||||
dom: "<'row'<'col-sm-12'tr>><'row'<'col-sm-6'i><'col-sm-6'f>>",
|
||||
"columnDefs": [ { "bSortable": false, "orderable": false, targets: -1} ],
|
||||
"paging": false,
|
||||
"scrollCollapse": true,
|
||||
"scrollY": "200px",
|
||||
|
||||
Reference in New Issue
Block a user