aboutsummaryrefslogtreecommitdiff
path: root/ui/sections
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-23 20:51:35 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-23 20:51:35 +0100
commit6f48041c9dd52f4d98c3defec030232aa0bbfeb9 (patch)
tree092020453e1893021dcf5be7b2f7d4ce93163f87 /ui/sections
parenteb46bad3d09e05fe40c4637c3d1aca5d0a263514 (diff)
merge Sean's code
Diffstat (limited to 'ui/sections')
-rw-r--r--ui/sections/lfv/barrier.html10
-rw-r--r--ui/sections/lfv/lights.html13
-rw-r--r--ui/sections/lfv/traffic_lights.html10
-rw-r--r--ui/sections/lfv_selector.html5
-rw-r--r--ui/sections/map.html1
-rw-r--r--ui/sections/notifications.html10
6 files changed, 0 insertions, 49 deletions
diff --git a/ui/sections/lfv/barrier.html b/ui/sections/lfv/barrier.html
deleted file mode 100644
index 64705b0..0000000
--- a/ui/sections/lfv/barrier.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<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>
diff --git a/ui/sections/lfv/lights.html b/ui/sections/lfv/lights.html
deleted file mode 100644
index bb37603..0000000
--- a/ui/sections/lfv/lights.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<h2>Lights Control</h2>
-<ul>
- <li><button onclick="setPercentage(0)">0%</button></li>
- <li><button onclick="setPercentage(10)">10%</button></li>
- <li><button onclick="setPercentage(20)">20%</button></li>
-</ul>
-<div id="percentageDisplay">Percentage: 0%</div>
-
-<script>
- function setPercentage(percentage) {
- document.getElementById('percentageDisplay').innerText = `Percentage: ${percentage}%`;
- }
-</script>
diff --git a/ui/sections/lfv/traffic_lights.html b/ui/sections/lfv/traffic_lights.html
deleted file mode 100644
index 8fa3eb4..0000000
--- a/ui/sections/lfv/traffic_lights.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<h2>Traffic Lights Control</h2>
-<button onclick="setStatus('Red')">Red</button>
-<button onclick="setStatus('Off')">Off</button>
-<div id="statusDisplay">Status: </div>
-
-<script>
- function setStatus(status) {
- document.getElementById('statusDisplay').innerText = `Status: ${status}`;
- }
-</script>
diff --git a/ui/sections/lfv_selector.html b/ui/sections/lfv_selector.html
deleted file mode 100644
index 3608d31..0000000
--- a/ui/sections/lfv_selector.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<ul>
- <li data-target="lights">Lights</li>
- <li data-target="traffic_lights">Traffic Lights</li>
- <li data-target="barrier">Barrier</li>
-</ul>
diff --git a/ui/sections/map.html b/ui/sections/map.html
deleted file mode 100644
index 734ebe1..0000000
--- a/ui/sections/map.html
+++ /dev/null
@@ -1 +0,0 @@
-This is a map \ No newline at end of file
diff --git a/ui/sections/notifications.html b/ui/sections/notifications.html
deleted file mode 100644
index cd2863e..0000000
--- a/ui/sections/notifications.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<div class="button-wrapper">
- <button id="addRowBtn">Add Row</button>
-</div>
-<div class="table-wrapper">
- <table id="myTable">
- <tr>
- <th>Column 1</th>
- </tr>
- </table>
-</div>