-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog_dl.html
executable file
·30 lines (30 loc) · 1.21 KB
/
log_dl.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
{% load staticfiles %} {% load tz %} {% load hex_id %} {% load compress %}
<!DOCTYPE html>
<html>
<head>
{% compress css inline %}
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}">
{% endcompress %}
{% compress js inline %}
<script type="text/javascript" src="{% static "js/jquery.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/moment.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/sha1.js" %}"></script>
<script type="text/javascript" src="{% static "js/ircParse.js" %}"></script>
{% endcompress %}
<meta charset="utf-8">
<meta name="author" content="Colin Stevens">
<title>IRC log for #{{ channel }}</title>
</head>
<body>
<table id="log_lines" style="margin-bottom: 0px">
</table>
<script>
$(document).ready(function() {
var lines = {% autoescape off %}{{lines}}{% endautoescape %}
$(lines).each(function(i) {
$(compile_message_row(lines[i])).appendTo("#log_lines");
});
});
</script>
</body>
</html>