-
Notifications
You must be signed in to change notification settings - Fork 0
/
LetsChat_room.html
41 lines (37 loc) · 1.58 KB
/
LetsChat_room.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
<!DOCTYPE html>
<html>
<head>
<title>Let's Chat Room</title>
<script src="https://www.gstatic.com/firebasejs/7.6.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.6.2/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/live/3.1/firebase.js"></script>
<link href="https://fonts.googleapis.com/css?family=Yeon+Sung&display=swap" rel="stylesheet"><meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="LetsChat.css">
</head>
<body>
<div class="container">
<button id="logout" class="glyphicon glyphicon-log-out btn btn-danger" onclick="logout()">Logout</button>
<center>
<h1 class="header">
Let's Chat
<sup>
<img src="unnamed.jpg">
</sup>
</h1>
<h3 class="color_white" id="user_name"></h3>
<div class="form-group input_div_room_page">
<label>#Add Room:</label>
<input type="text" id="room_name" class="form-control" placeholder="#Room Name">
</div>
<button class="btn btn-success" onclick="addRoom()">#Add Room</button>
<h3 class="color_white">#ROOMS</h3>
<div id="output"></div>
</center>
</div>
<script src="LetsChat_room.js"></script>
</body>
</html>