-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (34 loc) · 1.28 KB
/
index.html
File metadata and controls
38 lines (34 loc) · 1.28 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WebSocket example</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="style.css" >
</head>
<body>
<div id="container-middle">
<h1>WebSocket example</h1>
<input type="file" id="upload_file" />
<button id="upload_file_button" type="button">Upload File</button>
<p>Choose message background color: </p>
<select id="message-back-color">
<option>Gray</option>
<option>Red</option>
<option>Blue</option>
<option>Green</option>
<option>Yellow</option>
</select>
<input id="username-input" type="text" placeholder="Username...">
<div id="message-board">
<div id="messages"></div>
<div id="send-new-message-box">
<input id="input-text" type="text" placeholder="Write a message...">
<button id="send-message" class="blue-button" type="button">Send message</button>
</div>
</div>
</div>
</body>
</html>