PierreRouanet commited on
Commit
bdc406c
·
verified ·
1 Parent(s): 583b49c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +40 -19
index.html CHANGED
@@ -1,19 +1,40 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>Reachy Mini Status</title>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <link rel="stylesheet" href="style.css">
9
+ </head>
10
+
11
+ <body>
12
+ <div class="container">
13
+ <h1>Reachy Mini HTTP</h1>
14
+ <div class="status" id="connection-status">
15
+ <span class="dot disconnected" id="status-dot"></span>
16
+ <span id="status-text">Disconnected</span>
17
+ </div>
18
+ <form id="ip-form-http" style="margin-bottom: 20px;">
19
+ <label for="ip-input-http">Reachy IP:</label>
20
+ <input type="text" id="ip-input-http" name="ip" placeholder="Enter IP address" style="margin-left: 8px;">
21
+ <button type="submit">Connect</button>
22
+ </form>
23
+ </div>
24
+
25
+ <div class="container">
26
+ <h1>Reachy Mini WS</h1>
27
+ <div class="status" id="connection-status-ws">
28
+ <span class="dot disconnected" id="status-dot-ws"></span>
29
+ <span id="status-text-ws">Disconnected</span>
30
+ </div>
31
+ <form id="ip-form-ws" style="margin-bottom: 20px;">
32
+ <label for="ip-input-ws">Reachy IP:</label>
33
+ <input type="text" id="ip-input-ws" name="ip" placeholder="Enter IP address" style="margin-left: 8px;">
34
+ <button type="submit">Connect</button>
35
+ </form>
36
+ </div>
37
+ <script src="reachy-client.js"></script>
38
+ </body>
39
+
40
+ </html>