]> Slayer Assistant Repositories - slayer.unlishema.org/.git/commitdiff
Fixed typo
authorunlishema <unlishema@jtryba.com>
Thu, 24 Oct 2024 05:51:14 +0000 (01:51 -0400)
committerunlishema <unlishema@jtryba.com>
Thu, 24 Oct 2024 05:51:14 +0000 (01:51 -0400)
Fixed a typo making the settings not work right.

UI-Desgin.xcf [new file with mode: 0644]
dist/pages/settings.html
dist/styles/default/settings.css
src/pages/settings.html
src/styles/default/settings.css

diff --git a/UI-Desgin.xcf b/UI-Desgin.xcf
new file mode 100644 (file)
index 0000000..5b73b87
Binary files /dev/null and b/UI-Desgin.xcf differ
index 205e3d90b43586f459659288775ef9877b87e256..00a9ba374d6c1ffaf294a4486d2fe651d16617ee 100644 (file)
                 <div title="Enable auto capture for the app, requires Alt1 Toolkit">
                     <input type="checkbox" id="auto-capture-enabled">
                     <label class="nistext" for="auto-capture-enabled">Enabled</label>
-                    <input type="number" id="auto-capture-timer-loop" value="0">millis
+                    <input type="number" id="auto-capture-timer-loop" value="0">
+                    <label class="nistext" for="auto-capture-timer-loop">ms</label>
                 </div>
             </td>
             <td>
                 <div title="Enable capturing of the Slayer/Reaper Counter UI Box (RS3 Only)">
                     <input type="checkbox" id="auto-capture-counter">
                     <label class="nistext" for="auto-capture-counter">UI Counter</label>
-                    <input type="number" id="auto-capture-timer-counter" value="0">millis
+                    <input type="number" id="auto-capture-timer-counter" value="0">
+                    <label class="nistext" for="auto-capture-timer-counter">ms</label>
                 </div>
             </td>
             <td>
                 <div title="Re-enable auto capture after a search, if unchecked it waits for you to click capture">
                     <input type="checkbox" id="auto-capture-search">
                     <label class="nistext" for="auto-capture-search">Search</label>
-                    <input type="number" id="auto-capture-timer-search" value="0">millis
+                    <input type="number" id="auto-capture-timer-search" value="0">
+                    <label class="nistext" for="auto-capture-timer-search">ms</label>
                 </div>
             </td>
         </tr>
@@ -43,7 +46,8 @@
                 <div title="Time until auto capture re-enables after finding a Dialog box">
                     <label class="nistext" for="auto-capture-timer-dialog">Time until next Lookup after finding a
                         Dialog</label>
-                    <input type="number" id="auto-capture-timer-dialog" value="0">millis
+                    <input type="number" id="auto-capture-timer-dialog" value="0">
+                    <label class="nistext" for="auto-capture-timer-dialog">ms</label>
                 </div>
             </td>
         </tr>
         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);
             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);
         });
index 203cc252f59e4472f24b9b45e347f6a11c92125f..f73960081aaeade60051d1d0986e51edee797605 100644 (file)
@@ -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);}
index 205e3d90b43586f459659288775ef9877b87e256..00a9ba374d6c1ffaf294a4486d2fe651d16617ee 100644 (file)
                 <div title="Enable auto capture for the app, requires Alt1 Toolkit">
                     <input type="checkbox" id="auto-capture-enabled">
                     <label class="nistext" for="auto-capture-enabled">Enabled</label>
-                    <input type="number" id="auto-capture-timer-loop" value="0">millis
+                    <input type="number" id="auto-capture-timer-loop" value="0">
+                    <label class="nistext" for="auto-capture-timer-loop">ms</label>
                 </div>
             </td>
             <td>
                 <div title="Enable capturing of the Slayer/Reaper Counter UI Box (RS3 Only)">
                     <input type="checkbox" id="auto-capture-counter">
                     <label class="nistext" for="auto-capture-counter">UI Counter</label>
-                    <input type="number" id="auto-capture-timer-counter" value="0">millis
+                    <input type="number" id="auto-capture-timer-counter" value="0">
+                    <label class="nistext" for="auto-capture-timer-counter">ms</label>
                 </div>
             </td>
             <td>
                 <div title="Re-enable auto capture after a search, if unchecked it waits for you to click capture">
                     <input type="checkbox" id="auto-capture-search">
                     <label class="nistext" for="auto-capture-search">Search</label>
-                    <input type="number" id="auto-capture-timer-search" value="0">millis
+                    <input type="number" id="auto-capture-timer-search" value="0">
+                    <label class="nistext" for="auto-capture-timer-search">ms</label>
                 </div>
             </td>
         </tr>
@@ -43,7 +46,8 @@
                 <div title="Time until auto capture re-enables after finding a Dialog box">
                     <label class="nistext" for="auto-capture-timer-dialog">Time until next Lookup after finding a
                         Dialog</label>
-                    <input type="number" id="auto-capture-timer-dialog" value="0">millis
+                    <input type="number" id="auto-capture-timer-dialog" value="0">
+                    <label class="nistext" for="auto-capture-timer-dialog">ms</label>
                 </div>
             </td>
         </tr>
         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);
             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);
         });
index 203cc252f59e4472f24b9b45e347f6a11c92125f..f73960081aaeade60051d1d0986e51edee797605 100644 (file)
@@ -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);}