-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (56 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Chat - SD</title>
<link rel="stylesheet" type="text/css" href="assets/style.css">
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="node_modules/materialize-css/dist/css/materialize.min.css" media="screen,projection"/>
</head>
<body class="teal">
<div class="row section">
<div class="col s2"></div>
<div class="card-panel amber col s8 nickname_container">
<h1 class="flow-text">Welcome to Chat - SD</h1>
<p class="flow-text">Enter an username and join the Chat</p>
<div class="row card-panel">
<div class="col s12 ">
<form id="submit">
<div class="input-field col s12">
<input type="text" id="nickname" autocomplete="off" class="textfield" />
<label for="nickname">Username</label>
</div>
<div class="col s2 offset-s10">
<button class="btn waves-effect waves-light" type="submit" name="action"> Join
<i class="material-icons right">send</i>
</button>
</div>
</form>
</div>
</div>
</div>
<div class="col s2"></div>
</div>
<div id="chat" class="row" hidden>
<div class="menu card-panel col s12">
<div class="col s12">
<div class="name">
<h5 id="name"></h5>
<h6 id="time" class="right"></h6>
</div>
<div class="last"></div>
</div>
</div>
<div class="chat col s12 card-panel amber"></div>
<div class="card-panel footer col s12">
<input class="textarea" type="text" placeholder="Escreva aqui..." id="textarea" autocomplete="off" />
</div>
</div>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/materialize-css/dist/js/materialize.min.js"></script>
<script src="node_modules/socket.io-client/dist/socket.io.js"></script>
<script src="assets/js.js"></script>
</body>
</html>