forked from oalami/cloud-chat
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
57 lines (47 loc) · 1.97 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- STYLESHEETS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" >
<link rel="stylesheet" href="css/chat.css">
<title>Firebase Cloud Chat</title>
</head>
<body>
<div class="example-chat l-demo-container">
<img class="example-chat-logo" src="images/cloud-chat-logo.png" />
<header>
<!-- APP TITLE -->
<div class="example-chat-toolbar">
<h2>Cloud Chat App</h2>
</div>
<!-- NAME FIELD -->
<div class='example-chat-username-field'>
<div class="example-chat-avatar"><i class="fa fa-bolt"></i></div>
<input type='text' id='username' placeholder='Enter your name...'>
<div class="example-chat-login-options" id="login">
<div id="facebook-login" class="example-chat-login"><i class="fa fa-facebook"></i></div>
<div id="github-login" class="example-chat-login"><i class="fa fa-github"></i></div>
<div id="twitter-login" class="example-chat-login"><i class="fa fa-twitter"></i></div>
</div>
<div class="example-chat-login-options hidden" id="logout">
<div id="logout-button" class="example-chat-login"><i class="fa fa-sign-out"></i></div>
</div>
</div>
</header>
<!-- EMPTY MESSAGE LIST -->
<ul id='messages' class="example-chat-messages"></ul>
<!-- MESSAGE INPUT FIELD -->
<footer>
<i class="fa fa-comment-o icon-chat"></i>
<input type='text' id='new-message' placeholder='Type a message...'>
</footer>
</div>
<!-- FIREBASE, JQUERY -->
<script src="https://cdn.firebase.com/js/client/2.0.2/firebase.js"></script>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<!-- CHAT.JS FILE -->
<script src="js/chat.js"></script>
</body>
</html>