-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (42 loc) · 1.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interactive Webpage</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="theme-switch-wrapper">
<label class="theme-switch" for="theme-toggle">
<input type="checkbox" id="theme-toggle" />
<div class="slider round"></div>
</label>
</div>
<div class="container">
<div class="left-panel">
<div class="item" data-item="restful-api">
<div class="item-header">RESTful API Interface</div>
<div class="sub-items">
<div class="sub-item" id="getAccountInfo">Get Account Info</div>
<div class="sub-item" id="getAvailableSymbols">Get Available Symbols</div>
</div>
</div>
<div class="item" data-item="websocket">
<div class="item-header">WebSocket Interface</div>
<div class="sub-items">
<div class="sub-item" id="send-message">Ping/Pong Message</div>
</div>
</div>
</div>
<div class="right-panel">
<div class="output">
<div id="websocket-messages" class="messages"></div>
<div class="cursor"> </div>
</div>
</div>
</div>
<script src="script.js"></script>
<script type="module" src="websocket.js"></script>
</body>
</html>