-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmellow.html
39 lines (35 loc) · 838 Bytes
/
mellow.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
<head>
<title>#ThisRoom</title>
</head>
<body>
<div class="container">
{{> room}}
</div>
</body>
<template name="room">
<h1>#ThisRoom</h1>
<div class="chat-logs-container">
<table class="chat-logs table table-striped table-hover">
<tbody>
{{#each messages}}
{{> message}}
{{/each}}
</tbody>
</table>
</div>
<div class="message-wrap">
{{> input}}
</div>
</template>
<template name="message">
<tr><td class="name">{{name}}</td><td class="message">{{{message}}}</td></tr>
</template>
<template name="input">
<form id="message-form">
<input type="text" name="name" value="kparajul" />
<div class="input-append">
<input type="text" name="message" class="input-xxlarge"></textarea>
<input type="submit" class="btn" id='send' value="Send" />
</div>
</form>
</template>