From efaefd65f1c108c299a1e8cb13fc398431adcbcf Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Sat, 10 Aug 2024 13:51:58 -0400 Subject: [PATCH 1/5] Adding tailwindcss build --- scatch.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scatch.js diff --git a/scatch.js b/scatch.js new file mode 100644 index 0000000..2c7ec0a --- /dev/null +++ b/scatch.js @@ -0,0 +1,12 @@ +port.onconnect = async () => { + console.log("connected to port") + connectButton.classList.remove('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500'); + connectButton.classList.add('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500'); + connectButton.textContent = 'Disconnect'; +}; + +port.ondisconnect = async () => { + connectButton.classList.remove('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500'); + connectButton.classList.add('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500'); + connectButton.textContent = 'Connect'; +}; -- 2.38.4 From 0e1a45df13ae66697b9428c1b6b8c22d49eba693 Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Sat, 10 Aug 2024 14:18:00 -0400 Subject: [PATCH 2/5] Removing scratch files --- scatch.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 scatch.js diff --git a/scatch.js b/scatch.js deleted file mode 100644 index 2c7ec0a..0000000 --- a/scatch.js +++ /dev/null @@ -1,12 +0,0 @@ -port.onconnect = async () => { - console.log("connected to port") - connectButton.classList.remove('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500'); - connectButton.classList.add('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500'); - connectButton.textContent = 'Disconnect'; -}; - -port.ondisconnect = async () => { - connectButton.classList.remove('bg-red-500', 'hover:bg-red-600', 'focus:ring-red-500'); - connectButton.classList.add('bg-emerald-500', 'hover:bg-emerald-600', 'focus:ring-emerald-500'); - connectButton.textContent = 'Connect'; -}; -- 2.38.4 From d252cbf63aac64eec26c9931646386bc921fe555 Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Tue, 13 Aug 2024 11:23:41 -0400 Subject: [PATCH 3/5] Basic transmit layout --- src/dev.css | 11 +++++- src/index.html | 53 +++++++++++++++++++++---- src/main.css | 103 +++++++++++++++++++++++++++++++++++++++++++++++++ src/script.js | 11 ++++++ 4 files changed, 170 insertions(+), 8 deletions(-) diff --git a/src/dev.css b/src/dev.css index bd6213e..bb37579 100644 --- a/src/dev.css +++ b/src/dev.css @@ -1,3 +1,12 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +select:focus { + outline: none; + box-shadow: none; + } + input:focus { + outline: none; + box-shadow: none; + } \ No newline at end of file diff --git a/src/index.html b/src/index.html index 4a7e030..32b0cea 100644 --- a/src/index.html +++ b/src/index.html @@ -6,12 +6,6 @@ Web Serial Console -
@@ -60,7 +54,52 @@
-
+
+ + + + +
+
+

+
+ +
+ + + +