forked from JohnAZoidberg/typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat.html
45 lines (45 loc) · 989 Bytes
/
chat.html
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
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<title>DHBW Webengineering Chatclient</title>
<style>
.emoji {
width: 25px;
height: 25px;
}
#auth {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white;
}
</style>
<script src="dist/bundle.js"></script>
</head>
<body>
<form id="auth">
<input id="login" placeholder="API-Username">
<input id="password" type="password">
<input type="submit" value="Login">
</form>
Rooms:
<ul id="chat-rooms">
</ul>
<form>
<input name="room" placeholder="New Room"><br>
</form>
Users:
<ul id="room-users">
</ul>
Messages:
<ul id="historic-messages">
</ul>
<form id="message-form">
<input id="username" placeholder="Username"><br>
<textarea id="message"></textarea><br>
<input type="submit" value="Send">
</form>
</body>
</html>