NihalGazi commited on
Commit
f9ef852
·
verified ·
1 Parent(s): 3474c3f

Update templates/chat.html

Browse files
Files changed (1) hide show
  1. templates/chat.html +12 -8
templates/chat.html CHANGED
@@ -1,16 +1,20 @@
1
  <!DOCTYPE html>
2
  <html>
3
- <head><meta charset="utf-8"><title>Chat Room</title>
4
- <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
5
-
 
6
  </head>
7
  <body>
8
- <h2>Chat Room</h2>
9
- <div id="chat" style="height:300px; overflow:auto; border:1px solid #333;"></div>
10
- <input id="msg" autocomplete="off"><button id="send">Send</button>
11
- <button id="leave">Leave</button>
 
 
 
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>