From: unlishema Date: Thu, 24 Oct 2024 05:51:14 +0000 (-0400) Subject: Fixed typo X-Git-Url: https://git.slayer.unlishema.org/?a=commitdiff_plain;h=57c3427514850b317d09e1f29b42cae69b0d0fb2;p=slayer.unlishema.org%2F.git Fixed typo Fixed a typo making the settings not work right. --- diff --git a/UI-Desgin.xcf b/UI-Desgin.xcf new file mode 100644 index 0000000..5b73b87 Binary files /dev/null and b/UI-Desgin.xcf differ diff --git a/dist/pages/settings.html b/dist/pages/settings.html index 205e3d9..00a9ba3 100644 --- a/dist/pages/settings.html +++ b/dist/pages/settings.html @@ -20,21 +20,24 @@
- millis + +
- millis + +
- millis + +
@@ -43,7 +46,8 @@
- millis + +
@@ -113,8 +117,8 @@ document.getElementById("auto-capture-timer-loop").addEventListener("input", function () { localStorage.setItem("auto-capture-timer-loop", document.getElementById("auto-capture-timer-loop").value); }); - document.getElementById("auto-capture-timer-capture").addEventListener("input", function () { - localStorage.setItem("auto-capture-timer-capture", document.getElementById("auto-capture-timer-capture").value); + document.getElementById("auto-capture-timer-counter").addEventListener("input", function () { + localStorage.setItem("auto-capture-timer-counter", document.getElementById("auto-capture-timer-counter").value); }); document.getElementById("auto-capture-timer-search").addEventListener("input", function () { localStorage.setItem("auto-capture-timer-search", document.getElementById("auto-capture-timer-search").value); @@ -123,7 +127,6 @@ localStorage.setItem("auto-capture-timer-dialog", document.getElementById("auto-capture-timer-dialog").value); }); - document.getElementById("ui-limited").addEventListener("input", function () { localStorage.setItem("ui-limited", document.getElementById("ui-limited").checked); }); diff --git a/dist/styles/default/settings.css b/dist/styles/default/settings.css index 203cc25..f739600 100644 --- a/dist/styles/default/settings.css +++ b/dist/styles/default/settings.css @@ -23,7 +23,7 @@ table {margin: auto; color: #E5E6EB; border-collapse: collapse; width: 100%; max td {padding: 5px; text-align: left; vertical-align: middle;} label.nistext {color: #E5E6EB; font-size: 16px; padding-left: 5px;} input[type="checkbox"] {margin-right: 5px;} -input[type="number"] {margin-right: 5px; width: calc(100% - 60px);} +input[type="number"] {margin-right: 2px; width: calc(100% - 60px);} tr td.h1 {text-align: center; font-weight: bold; font-size: 18px; padding: 12px;} td.h1:hover{text-decoration: underline; text-decoration-color: rgba(124, 95, 0, 0.815); text-decoration-thickness: 3px;} td:not(.h1):hover{background-color: rgba(124, 95, 0, 0.815);} diff --git a/src/pages/settings.html b/src/pages/settings.html index 205e3d9..00a9ba3 100644 --- a/src/pages/settings.html +++ b/src/pages/settings.html @@ -20,21 +20,24 @@
- millis + +
- millis + +
- millis + +
@@ -43,7 +46,8 @@
- millis + +
@@ -113,8 +117,8 @@ document.getElementById("auto-capture-timer-loop").addEventListener("input", function () { localStorage.setItem("auto-capture-timer-loop", document.getElementById("auto-capture-timer-loop").value); }); - document.getElementById("auto-capture-timer-capture").addEventListener("input", function () { - localStorage.setItem("auto-capture-timer-capture", document.getElementById("auto-capture-timer-capture").value); + document.getElementById("auto-capture-timer-counter").addEventListener("input", function () { + localStorage.setItem("auto-capture-timer-counter", document.getElementById("auto-capture-timer-counter").value); }); document.getElementById("auto-capture-timer-search").addEventListener("input", function () { localStorage.setItem("auto-capture-timer-search", document.getElementById("auto-capture-timer-search").value); @@ -123,7 +127,6 @@ localStorage.setItem("auto-capture-timer-dialog", document.getElementById("auto-capture-timer-dialog").value); }); - document.getElementById("ui-limited").addEventListener("input", function () { localStorage.setItem("ui-limited", document.getElementById("ui-limited").checked); }); diff --git a/src/styles/default/settings.css b/src/styles/default/settings.css index 203cc25..f739600 100644 --- a/src/styles/default/settings.css +++ b/src/styles/default/settings.css @@ -23,7 +23,7 @@ table {margin: auto; color: #E5E6EB; border-collapse: collapse; width: 100%; max td {padding: 5px; text-align: left; vertical-align: middle;} label.nistext {color: #E5E6EB; font-size: 16px; padding-left: 5px;} input[type="checkbox"] {margin-right: 5px;} -input[type="number"] {margin-right: 5px; width: calc(100% - 60px);} +input[type="number"] {margin-right: 2px; width: calc(100% - 60px);} tr td.h1 {text-align: center; font-weight: bold; font-size: 18px; padding: 12px;} td.h1:hover{text-decoration: underline; text-decoration-color: rgba(124, 95, 0, 0.815); text-decoration-thickness: 3px;} td:not(.h1):hover{background-color: rgba(124, 95, 0, 0.815);}