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