templates/channel_last.tmpl
author Tero Marttila <terom@fixme.fi>
Fri, 13 Feb 2009 00:29:47 +0200
changeset 121 86aebc9cb60b
parent 114 d4848d807fd1
permissions -rw-r--r--
some quickfixes to fix deployment errors
<%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>