From 84c8ff3708a968a1f3ce6fd5a8ad25eb5ebc6365 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 19 Dec 2022 21:55:50 -0500 Subject: [PATCH] sobbing --- websvr.js | 5 +++++ www/index.html | 11 +++++++---- www/main.css | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 www/main.css diff --git a/websvr.js b/websvr.js index d5ca6ca..7d8b2eb 100644 --- a/websvr.js +++ b/websvr.js @@ -1,6 +1,11 @@ /* Pellet Stove Control Panel * Web Configuration Server * v0.0.0 by Skylar Grant + * + * TODOs: + * Implement Express to make it easier + * Add actual data into the responses + * Launching point: https://stackoverflow.com/questions/18831783/how-to-call-a-server-side-function-from-client-side-e-g-html-button-onclick-i */ const http = require('http'); diff --git a/www/index.html b/www/index.html index 207d913..3347f61 100644 --- a/www/index.html +++ b/www/index.html @@ -2,6 +2,7 @@ Pellet Stove Web Portal +
Pellet Stove Web Portal
@@ -10,11 +11,13 @@
-
+
+
+
- ms
- ms
- ms
+ ms
+ ms
+ ms
diff --git a/www/main.css b/www/main.css new file mode 100644 index 0000000..6290fad --- /dev/null +++ b/www/main.css @@ -0,0 +1,34 @@ +html, body { + background-color: #333; + color: aqua; + font-family: sans-serif; +} + +#title { + text-align: center; + font-size: 35px; + padding-bottom: 15px; +} + +#status { + text-align: center; +} + +#safeties { + text-align: center; +} + +#controls-container { + text-align: center; +} + +#buttons button { + margin: 20px 5px; + font-size: 20px; + width: 150px; + height: 30px; +} + +#controls-container input { + margin: 5px; +} \ No newline at end of file