summaryrefslogtreecommitdiff
path: root/frontend/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/status.js')
-rw-r--r--frontend/status.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/status.js b/frontend/status.js
new file mode 100644
index 0000000..5f55fe8
--- /dev/null
+++ b/frontend/status.js
@@ -0,0 +1,7 @@
+startUpdateMachines();
+
+(async () => {
+ const urlParams = new URLSearchParams(window.location.search);
+ const inf = await information(urlParams.get("machine"));
+ document.getElementById("status-title").innerHTML = `Machine Status for H${inf ? inf.block : '?'}`
+})();