aboutsummaryrefslogtreecommitdiff
path: root/ui/sections/lfv/barrier.html
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-23 20:33:54 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-23 20:33:54 +0100
commiteb46bad3d09e05fe40c4637c3d1aca5d0a263514 (patch)
treedfd68380a3e427bcad53db91b321607451e41238 /ui/sections/lfv/barrier.html
parent8c77921791842bbda80f3eb254092e6e7c0ad648 (diff)
parent896ff81bd0da72d8aed990ad823eca6a0c03d148 (diff)
Merge branch 'HTML_Sean'
Diffstat (limited to 'ui/sections/lfv/barrier.html')
-rw-r--r--ui/sections/lfv/barrier.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/sections/lfv/barrier.html b/ui/sections/lfv/barrier.html
new file mode 100644
index 0000000..64705b0
--- /dev/null
+++ b/ui/sections/lfv/barrier.html
@@ -0,0 +1,10 @@
+<h2>Barrier Control</h2>
+<button onclick="setStatus('Open')">Open</button>
+<button onclick="setStatus('Close')">Close</button>
+<div id="statusDisplay">Status: </div>
+
+<script>
+ function setStatus(status) {
+ document.getElementById('statusDisplay').innerText = `Status: ${status}`;
+ }
+</script>