-
Notifications
You must be signed in to change notification settings - Fork 0
/
chat.html
61 lines (53 loc) · 2.59 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html>
<head>
<title>Chat</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="assets/css/app.css" rel="stylesheet">
</head>
<body class="d-nonex">
<div class="container">
<div class="row">
<section class="discussions">
<div class="discussion search">
<div class="searchbar">
<i class="icon fa fa-user-o circle green" aria-hidden="true"></i>
<p class="name">Megan Leib</p>
<a class="icon fa fa-lock clickable logout" onclick="logout()" aria-hidden="true"></a>
</div>
</div>
</section>
<section class="chat">
<div class="header-chat">
<i class="icon fa fa-user-o" aria-hidden="true"></i>
<div class="name">
<span>Online Users (<span class="online-count">0</span>)</span>
<p class="online-users"></p>
</div>
<i class="icon clickable fa fa-ellipsis-h right" aria-hidden="true"></i>
</div>
<div id="rooms-area">
</div>
<div class="footer-chat">
<i class="icon fa fa-smile-o clickable" style="font-size:25pt;" aria-hidden="true"></i>
<input type="text" class="write-message" placeholder="Type your message here"></input>
<i class="icon send fa fa-paper-plane-o clickable" aria-hidden="true" onclick="sendMessage()"></i>
</div>
</section>
</div>
</div>
<input type="hidden" id="room" value="">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.socket.io/4.5.4/socket.io.min.js"
integrity="sha384-/KNQL8Nu5gCHLqwqfQjA689Hhoqgi2S84SNUxC3roTe4EhJ9AfLkp8QiQcU8AMzI"
crossorigin="anonymous"></script>
<script src="assets/js/app.js"></script>
<script src="assets/js/auth.js"></script>
<script src="assets/js/api.js"></script>
<script src="assets/js/socket.js"></script>
</body>
</html>