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
|
{% extends "bt/base.html" %}
{% block content %}
{% block log %}
<div id="log"><center>LOG PLACEHOLDER</center></div>
{% endblock log %}
<div id="events">
<table>
<tr class="event-header">
<th class="channel">Channel</th>
<th class="nick">Nick/Mask</th>
<th class="operator">Operator</th>
<th class="event-time">Time</th>
<th class="event-log">Log</th>
</tr>
{% for e in events %}
<div class="bleh">
<tr class="event-info" id="id-{{ e.id }}">
<td class="channel">{{ e.channel }}</td>
<td class="nick">
{% if e.ban %}
{{ e.ban.mask }}
{% else %}
{{ e.nick }}
{% endif %}
</td>
<td class="operator">{{ e.operator }}</td>
<td class="event-time">{{ e.create_date|date:"M d, Y H:i" }}</td>
<td class="event-log"><a href="#">LOG</a></td>
</tr>
{% for comment in e.comments.all %}
<tr id="comment-{{ comment.id }}" class="comment-info">
<td> </td>
<td class="comment-text"><b>{{ comment.author }} ({{ comment.create_date|date:"M d, Y H:i" }}): </b>{{ comment.text }}</td>
</tr>
{% endfor %}
</div>
{% endfor %}
</table>
</div>
{% endblock content %}
|