Spaces:
Running
Running
Update templates/chat.html
Browse files- templates/chat.html +12 -8
templates/chat.html
CHANGED
@@ -1,16 +1,20 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
-
<head
|
4 |
-
<
|
5 |
-
|
|
|
6 |
</head>
|
7 |
<body>
|
8 |
-
<
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
12 |
|
13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.8.1/socket.io.js"></script>
|
14 |
<script src="/static/chat.js"></script>
|
15 |
</body>
|
16 |
-
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title>Chat Room</title>
|
6 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
7 |
</head>
|
8 |
<body>
|
9 |
+
<div id="chatContainer">
|
10 |
+
<div id="chatroom-title"></div>
|
11 |
+
<div id="chat"></div>
|
12 |
+
<input id="msg" autocomplete="off">
|
13 |
+
<button id="send">Send</button>
|
14 |
+
<button id="leave">Leave</button>
|
15 |
+
</div>
|
16 |
|
17 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.8.1/socket.io.js"></script>
|
18 |
<script src="/static/chat.js"></script>
|
19 |
</body>
|
20 |
+
</html>
|