-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmeteorirc.html
41 lines (38 loc) · 965 Bytes
/
meteorirc.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
<head>
<title>meteorirc</title>
</head>
<body>
{{>messages}}
</body>
<template name="messages">
<ul id="messages">
{{#each messages}}
{{>message}}
{{/each}}
{{#lastMessageDate}}
<li class="date">
{{dateString time}}
</li>
{{/lastMessageDate}}
</ul>
<div id="paginator">
{{#if previousPage}}
<a href="/from/{{previousPage}}">Previous</a>
{{/if}}
{{#if nextPage}}
<a href="/from/{{nextPage}}">Next</a>
{{/if}}
</div>
</template>
<template name="message">
{{#ifDateChanged time}}
<li class="date">
{{datePlusOneString time}}
</li>
{{/ifDateChanged}}
<li class="message">
<span class="time">{{timeString time}}</span>
<span class="from">{{from}}:</span>
<span class="message">{{#linkifyText}}{{/linkifyText}}</span>
</li>
</template>