add base files for web interface

This commit is contained in:
UpstreamData
2022-03-25 16:02:50 -06:00
parent 8864aa7b4b
commit a0311e3ce3
7 changed files with 544 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
import {generate_layout} from "./create_layout.js"
// when miner data is sent
ws.onmessage = function(event) {
// generate the layout of the page
generate_layout(JSON.parse(event.data));
});