diff --git a/scripts/pi-hole/js/groups.js b/scripts/pi-hole/js/groups.js index 27ed8ce3..0beab5ba 100644 --- a/scripts/pi-hole/js/groups.js +++ b/scripts/pi-hole/js/groups.js @@ -14,7 +14,7 @@ function handleAjaxError(xhr, textStatus) { if (textStatus === "timeout") { alert("The server took too long to send the data."); } else { - alert("An unknown error occured while loading the data.\n" + xhr.responseText); + alert("An unknown error occurred while loading the data.\n" + xhr.responseText); } table.clear(); diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 4657c4d9..0e86974f 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -69,7 +69,7 @@ function handleAjaxError(xhr, textStatus) { if (textStatus === "timeout") { alert("The server took too long to send the data."); } else { - alert("An unknown error occured while loading the data.\n" + xhr.responseText); + alert("An unknown error occurred while loading the data.\n" + xhr.responseText); } $("#all-queries_processing").hide(); diff --git a/scripts/pi-hole/js/settings-dns-records.js b/scripts/pi-hole/js/settings-dns-records.js index fe3dd07d..a0b2a5e1 100644 --- a/scripts/pi-hole/js/settings-dns-records.js +++ b/scripts/pi-hole/js/settings-dns-records.js @@ -38,7 +38,7 @@ $(function () { rowCallback: function (row, data) { // Split record in format IP NAME1 [NAME2 [NAME3 [NAME...]]] var ip = data.substring(0, data.indexOf(" ")); - // The name can be mulitple domains separated by spaces + // The name can be multiple domains separated by spaces var name = data.substring(data.indexOf(" ") + 1); $(row).attr("data-id", data); @@ -110,7 +110,7 @@ $(function () { }, rowCallback: function (row, data) { // Split record in format ,[,] - var splitted = data.split(","); + var CNAMEarr = data.split(","); $(row).attr("data-id", data); var button = @@ -122,9 +122,9 @@ $(function () { '' + ""; $("td:eq(3)", row).html(button); - $("td:eq(0)", row).text(splitted[0]); - $("td:eq(1)", row).text(splitted[1]); - if (splitted.length > 2) $("td:eq(2)", row).text(splitted[2]); + $("td:eq(0)", row).text(CNAMEarr[0]); + $("td:eq(1)", row).text(CNAMEarr[1]); + if (CNAMEarr.length > 2) $("td:eq(2)", row).text(CNAMEarr[2]); else $("td:eq(2)", row).text("-"); }, dom: diff --git a/scripts/pi-hole/lua/sidebar.lp b/scripts/pi-hole/lua/sidebar.lp index 78394e75..4087c288 100644 --- a/scripts/pi-hole/lua/sidebar.lp +++ b/scripts/pi-hole/lua/sidebar.lp @@ -245,7 +245,7 @@
  • Donate
  • diff --git a/scripts/pi-hole/lua/theme.lua b/scripts/pi-hole/lua/theme.lua index a6c5a953..788d6379 100644 --- a/scripts/pi-hole/lua/theme.lua +++ b/scripts/pi-hole/lua/theme.lua @@ -52,6 +52,6 @@ available_themes['lcars'] = { color = '#4488FF' } --- Get properties of currenty selected theme by asking FTL what the currently +-- Get properties of currently selected theme by asking FTL what the currently -- enabled theme is theme = available_themes[pihole.webtheme()] diff --git a/settings-api.lp b/settings-api.lp index 4fd926be..c7eac186 100644 --- a/settings-api.lp +++ b/settings-api.lp @@ -203,7 +203,7 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') -

    IMPORTANT: If you lose your 2FA token, you will not be able to login. You will need to disable 2FA on the comand line and re-enable 2FA to generate a new secret.

    +

    IMPORTANT: If you lose your 2FA token, you will not be able to login. You will need to disable 2FA on the command line and re-enable 2FA to generate a new secret.

    diff --git a/settings-dnsrecords.lp b/settings-dnsrecords.lp index be4c2131..e89d6992 100644 --- a/settings-dnsrecords.lp +++ b/settings-dnsrecords.lp @@ -99,7 +99,7 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
    - +
    diff --git a/settings-privacy.lp b/settings-privacy.lp index a4e9ef9a..42643d17 100644 --- a/settings-privacy.lp +++ b/settings-privacy.lp @@ -20,7 +20,7 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
    -

    The currently configued logging file is

    +

    The currently configured logging file is

    diff --git a/style/pi-hole.css b/style/pi-hole.css index c3f91802..89598b34 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -1133,9 +1133,13 @@ table.dataTable tbody > tr > .selected { } @keyframes error-border { - 0% { border-color: rgba(255,0,0,0.5) } - 50% { border-color: rgba(255,0,0,0.2) } - 100% { border-color: rgba(255,0,0,0.5) } + 0%, + 100% { + border-color: rgba(255, 0, 0, 0.5); + } + 50% { + border-color: rgba(255, 0, 0, 0.2); + } } .error-box {