From 062aadb1abbb27e60ae9a780bc2692b8a6337533 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 9 Jan 2026 11:21:41 -0500 Subject: [PATCH] Finishing touches on Isaac's additions --- src/assets/ITThermal.js | 11 ++--------- src/index.html | 14 +++++++------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/assets/ITThermal.js b/src/assets/ITThermal.js index 6239892..eb3c2f8 100644 --- a/src/assets/ITThermal.js +++ b/src/assets/ITThermal.js @@ -1,7 +1,7 @@ /* ITS Thermal Receipt Printer * Developed by Skylar Grant for MCCS ITS */ -const version = "1.2.7"; +const version = "1.2.8"; // ############################################################# // Variables // ############################################################# @@ -85,16 +85,9 @@ function setVersionNumber() { function tempPasswordHandler() { // Grab the form values - let username = document.getElementById('tempPwUsername').value; + const username = document.getElementById('tempPwUsername').value; const password = document.getElementById('tempPwPassword').value; - - //Going to test and see if having @mainecc.edu auto added is better or if pasting the full email instead is better. - - - - - if (password.trim() === '') { alert('Please enter a temporary password.'); return; diff --git a/src/index.html b/src/index.html index 550faf2..5fca5ad 100644 --- a/src/index.html +++ b/src/index.html @@ -10,7 +10,7 @@
- + ITS Logo
@@ -38,7 +38,7 @@ class="dark:border-gray-700 dark:bg-gray-700 dark:text-white mt-1 ml-2 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"> - @@ -61,7 +61,7 @@ - @@ -86,18 +86,18 @@
- -
@@ -132,7 +132,7 @@
-