summaryrefslogtreecommitdiff
path: root/data/html/index.html
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-18 16:03:17 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-18 16:57:15 +0200
commit5643b52829587c6bc723233a14b2bdc3f52b3879 (patch)
treef4873d48996083d2d2bf7cee4411f074b3633b2a /data/html/index.html
parent7e08ae6ff7701632c8e3919b9dd3a7a13970835b (diff)
downloadbirdscan-5643b52829587c6bc723233a14b2bdc3f52b3879.tar
birdscan-5643b52829587c6bc723233a14b2bdc3f52b3879.tar.zst
birdscan-5643b52829587c6bc723233a14b2bdc3f52b3879.zip
Implement reboot and poweroff via Web Interface
Diffstat (limited to 'data/html/index.html')
-rw-r--r--data/html/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/html/index.html b/data/html/index.html
index 268aad9..002f50a 100644
--- a/data/html/index.html
+++ b/data/html/index.html
@@ -27,6 +27,8 @@
<p>A software to take beautiful pictures of birds with a Raspberry Pi Camera.</p>
<p id="state"></p>
<button onclick="singlePicture()">Take single picture</button>
+ <button onclick="reboot()">reboot</button>
+ <button onclick="poweroff()">poweroff</button>
</main>
<script src="./js/birdscan.js"></script>