forked from jollen/html5-game-bubble-r2
-
Notifications
You must be signed in to change notification settings - Fork 3
/
chat.html
60 lines (55 loc) · 1.68 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="modernizr.js" type="text/javascript"></script>
<script src="loader.chat.js" type="text/javascript"></script>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Bubble</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Game Console</a></li>
<li class="active"><a href="chat.html">Chatroom</a></li>
<li><a href="camera.html">Camera</a></li>
</ul>
</div>
</nav>
</body>
<div>
<div class="input-group">
<span class="input-group-btn">
<button id="message" class="btn btn-default" type="button">Go!</button>
</span>
<input id="content" type="text" class="form-control" placeholder="Message">
</div>
</div>
<div>
<table class="table" id="priceList">
<tr>
<th>Username</th>
<th>Message</th>
<th>時間</th>
</tr>
</table>
</div>
<script id="priceTemplate" type="text/x-jquery-tmpl">
<tr>
<td></td>
<td>${message}</td>
<td>${timestamp}</td>
</tr>
</script>
</html>