mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Update settings.js
* fix "Pi-hole" case * remove moot modal class Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ $(function () {
|
||||
});
|
||||
});
|
||||
$(".confirm-poweroff").confirm({
|
||||
text: "Are you sure you want to send a poweroff command to your Pi-Hole?",
|
||||
text: "Are you sure you want to send a poweroff command to your Pi-hole?",
|
||||
title: "Confirmation required",
|
||||
confirm: function () {
|
||||
$("#poweroffform").submit();
|
||||
@@ -30,10 +30,10 @@ $(".confirm-poweroff").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg" // Bootstrap classes for mid-size modal
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
$(".confirm-reboot").confirm({
|
||||
text: "Are you sure you want to send a reboot command to your Pi-Hole?",
|
||||
text: "Are you sure you want to send a reboot command to your Pi-hole?",
|
||||
title: "Confirmation required",
|
||||
confirm: function () {
|
||||
$("#rebootform").submit();
|
||||
@@ -46,7 +46,7 @@ $(".confirm-reboot").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg" // Bootstrap classes for mid-size modal
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$(".confirm-restartdns").confirm({
|
||||
@@ -63,7 +63,7 @@ $(".confirm-restartdns").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg"
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$(".confirm-flushlogs").confirm({
|
||||
@@ -80,7 +80,7 @@ $(".confirm-flushlogs").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg"
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$(".confirm-flusharp").confirm({
|
||||
@@ -97,7 +97,7 @@ $(".confirm-flusharp").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-warning",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg"
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$(".confirm-disablelogging-noflush").confirm({
|
||||
@@ -114,7 +114,7 @@ $(".confirm-disablelogging-noflush").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-warning",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg"
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$(".api-token").confirm({
|
||||
@@ -132,7 +132,7 @@ $(".api-token").confirm({
|
||||
post: true,
|
||||
confirmButtonClass: "btn-danger",
|
||||
cancelButtonClass: "btn-success",
|
||||
dialogClass: "modal-dialog modal-mg"
|
||||
dialogClass: "modal-dialog"
|
||||
});
|
||||
|
||||
$("#DHCPchk").click(function () {
|
||||
|
||||
Reference in New Issue
Block a user