aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorSiemV <114224184+Siempie30@users.noreply.github.com>2024-04-10 09:16:30 +0200
committerSiemV <114224184+Siempie30@users.noreply.github.com>2024-04-10 09:16:30 +0200
commitff6bd8e071a15518d53281a8f23103696467e49e (patch)
tree65288a02e6599dbd75961c6f2bb1d3da66e438f2 /ui
parent054be597e639cc6294f37202b966fe5e53c13f99 (diff)
Added CCTV preset buttons
Diffstat (limited to 'ui')
-rw-r--r--ui/index.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/ui/index.html b/ui/index.html
index 3d93944..fe7726b 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -41,8 +41,15 @@
<li class="list-item">
<span id="cctvValue" class="dot"></span> CCTV
<div class="buttons">
- <button value="true" onclick="api.msg.send.cctv(this)">On</button>
- <button value="false" onclick="api.msg.send.cctv(this)">Off</button>
+ <button value="preset1" onclick="api.msg.send.cctv(this)">Preset 1</button>
+ <button value="preset2" onclick="api.msg.send.cctv(this)">Preset 2</button>
+ <button value="preset3" onclick="api.msg.send.cctv(this)">Preset 3</button>
+ <button value="preset4" onclick="api.msg.send.cctv(this)">Preset 4</button>
+ <button value="preset5" onclick="api.msg.send.cctv(this)">Preset 5</button>
+ <button value="preset6" onclick="api.msg.send.cctv(this)">Preset 6</button>
+ <button value="preset7" onclick="api.msg.send.cctv(this)">Preset 7</button>
+ <button value="preset8" onclick="api.msg.send.cctv(this)">Preset 8</button>
+ <button value="preset9" onclick="api.msg.send.cctv(this)">Preset 9</button>
</div>
</li>
<li class="list-item">