summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 8ccd1b2..2715585 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -32,9 +32,15 @@
<div class="content">
<header><h1>picontrol</h1></header>
<p>
- Still in early alpha version ...
+ Reboot with this button:
</p>
+ <button onclick="reboot()">reboot</button>
+ <p>
+ Power off with this button:
+ </p>
+ <button onclick="poweroff()">power off</button>
</div>
</div>
+ <script src="static/js/api_client.js"></script>
</body>
</html>