Spaces:
Running
Running
Update templates/chat.html
Browse files- templates/chat.html +7 -3
templates/chat.html
CHANGED
@@ -1,9 +1,13 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html
|
|
|
|
|
3 |
<h2>Chat Room</h2>
|
4 |
-
<div id="chat" style="height:300px;overflow:auto;border:1px solid #333;"></div>
|
5 |
<input id="msg" autocomplete="off"><button id="send">Send</button>
|
6 |
<button id="leave">Leave</button>
|
|
|
7 |
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.min.js"></script>
|
8 |
<script src="/static/chat.js"></script>
|
9 |
-
</body
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head><meta charset="utf-8"><title>Chat Room</title></head>
|
4 |
+
<body>
|
5 |
<h2>Chat Room</h2>
|
6 |
+
<div id="chat" style="height:300px; overflow:auto; border:1px solid #333;"></div>
|
7 |
<input id="msg" autocomplete="off"><button id="send">Send</button>
|
8 |
<button id="leave">Leave</button>
|
9 |
+
|
10 |
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.min.js"></script>
|
11 |
<script src="/static/chat.js"></script>
|
12 |
+
</body>
|
13 |
+
</html>
|