-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (62 loc) · 2.61 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mqtt/4.3.7/mqtt.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="nothing" id="chatapp">
<header>
<div class="navbar">
<a onclick="changechat()">Home</a>
<a href="#news">News</a>
<div class="dropdown">
<button class="dropbtn">Dropdown
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a onclick="" href="/log">history</a>
<a onclick="sendPing()">ping</a>
</div>
</div>
</div>
</header>
<div class="chats">
<div class="online">
<h1>USERS</h1>
</div>
<div class="userlist" id="ulist"></div>
</div>
<aside>
<div class="currentchat">
<div class="current">
<h4>Mainchat</h4>
</div>
<div class="chatlog" id="chatlog"></div>
<input class="typing" type="text" id="chatInput" placeholder="Type something..."
onkeydown="sendMsg(this)"></input>
<button onclick="sendMessageButton(getElementById('chatInput').value)" ;
getElementById('chatInput').value='' ;" class="button"></button>
</div>
</aside>
</div>
<div class="login" id="login-box">
<P></P>
<div class="login-box">
<p>Welcome to My chat app! <br> choose your name wisely!!</p>
<input type="text" class="login-input" id="login" placeholder="what is your username?"
style="float: left;"></input>
<input type="text" class="login-input" id="admin" placeholder="Admin ID" style="float: left;"></input>
<button onclick="getInput()" class="button"></button>
<p> problems or bugs? <br> contact me: dylchelvia@gmail.com</p>
</div>
</div>
<footer>
</footer>
<script src="appv3.2.js"></script>
</body>
</html>