-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html.pasta
47 lines (42 loc) · 1.4 KB
/
search.html.pasta
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
<i:arg name="messages" type="Page"/>
<w:page title="Nachrichtenverlauf">
<i:block name="breadcrumbs">
<li><a href="/">sirius Chat</a></li>
<li><a href="/search">Nachrichtenverlauf</a></li>
</i:block>
<w:pageHeader title="Nachrichtenverlauf"/>
<div class="col-md-3">
<w:filterbox page="messages" baseUrl="/search"/>
</div>
<div class="col-md-9">
<w:tableSearchHeader page="messages" baseUrl="/search"/>
<w:table data="messages.getItems()">
<thead>
<tr>
<th class="col-md-4">
Absender <br>
<small class="muted"> Gesendet am</small>
</th>
<th>
Nachricht
</th>
</tr>
</thead>
<tbody>
<i:for type="search.SearchableChatMessage" var="message" items="messages.getItems()">
<tr>
<td class="title">
@message.getSender()
<br>
<small class="muted">@toUserString(message.getSendAt())</small>
</td>
<td>
@message.getText()
</td>
</tr>
</i:for>
</tbody>
</w:table>
<w:pagination page="messages" baseUrl="/search"/>
</div>
</w:page>