forked from sdslabs/jinora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.49 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
<!DOCTYPE html>
<html>
<head>
<title>chat with sdslabs</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="old-style.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.4.0/jquery.timeago.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js"></script>
<script src="//cdn.jsdelivr.net/emojione/1.2.2/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/emojione/1.2.2/assets/css/emojione.min.css" type="text/css" media="all">
</head>
<body>
<div id="slate">
<div id="content">
<div id="channels">
<div class="channel focused">
<h2>chat</h2>
<div class="channel-log">
<table class="">
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<textarea id="message-input" placeholder="Message"></textarea>
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="app.js"></script>
<script id="template-message" type="x-tmpl-mustache">
<tr class="{{classes}}">
<td class="nick"><span>{{nick}}</span></td>
<td class="message"><span>{{{message}}}</span></td>
<td class="date timeago" title="{{timestamp}}"></td>
</tr>
</script>
</body>
</html>