aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-23 20:52:45 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-23 20:52:45 +0100
commit848e3ec261348ec44b2b2184efae1d1a14d78cac (patch)
tree69f19fe42bc3f4276e0dfcfe91b738ff0b0571c9 /ui
parent6f48041c9dd52f4d98c3defec030232aa0bbfeb9 (diff)
move websocket demo to index.html
Diffstat (limited to 'ui')
-rw-r--r--ui/demo.html13
-rw-r--r--ui/index.html7
2 files changed, 7 insertions, 13 deletions
diff --git a/ui/demo.html b/ui/demo.html
deleted file mode 100644
index 7ad4e6d..0000000
--- a/ui/demo.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>demo page</title>
- <script type="module" src="js/main.js"></script>
-</head>
-<body>
- <div class="buttonlist">
- <button onclick="api.msg.send.helloWorld()">Hello World!</button>
- </div>
-</body>
-</html>
diff --git a/ui/index.html b/ui/index.html
index ae263f3..07c4141 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -110,6 +110,13 @@
</script>
</div>
</details>
+
+ <details>
+ <summary>WebSocket Demo</summary>
+ <div class="websocket_demo">
+ <button onclick="api.msg.send.helloWorld()">Hello World!</button>
+ </div>
+ </details>
</div>
<div class="section notifications" id="sectionNotifications">