qmsk/irclogs/templates/channel_last.tmpl
changeset 143 154d2d8ae9c0
parent 114 d4848d807fd1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qmsk/irclogs/templates/channel_last.tmpl	Sun Sep 13 20:08:16 2009 +0300
@@ -0,0 +1,18 @@
+<%inherit file="channel.tmpl" />
+
+<div id="title">${channel.title} :: Last ${count} lines</div>
+
+<form action="${h.url(urls.channel_last, channel=channel)}" method="GET">
+    View last <select name="count">
+        ${h.select_options(((None, cc) for cc in (10, 20, 50, 100, 200, 500, 1000)), count)}
+    </select> lines: <input type="submit" value="Go &raquo;" />
+</form>
+
+<%include file="lines.tmpl" />
+
+<div id="other-formats">
+    Other formats available:<br/>
+        <a href="${h.url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
+    |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
+    |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
+</div>