aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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">