templates/channel_last.tmpl
author Tero Marttila <terom@fixme.fi>
Mon, 16 Feb 2009 00:54:25 +0200
changeset 132 0e857c4a67de
parent 114 d4848d807fd1
permissions -rw-r--r--
cache version across calls to version_mercurial, so as to avoid opening the repo every time
50
f13cf27a360b implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
<%inherit file="channel.tmpl" />
f13cf27a360b implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
56
69494e4a5ecc tweak layout slightly
Tero Marttila <terom@fixme.fi>
parents: 50
diff changeset
     3
<div id="title">${channel.title} :: Last ${count} lines</div>
50
f13cf27a360b implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
114
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
     5
<form action="${h.url(urls.channel_last, channel=channel)}" method="GET">
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
     6
    View last <select name="count">
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
     7
        ${h.select_options(((None, cc) for cc in (10, 20, 50, 100, 200, 500, 1000)), count)}
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
     8
    </select> lines: <input type="submit" value="Go &raquo;" />
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
     9
</form>
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
    10
69
1f182913b1f2 href-ize urls
Tero Marttila <terom@fixme.fi>
parents: 56
diff changeset
    11
<%include file="lines.tmpl" />
80
a0662cff1d9d add RSSFormatter, and link to different types from channel_last.tmpl...
Tero Marttila <terom@fixme.fi>
parents: 70
diff changeset
    12
a0662cff1d9d add RSSFormatter, and link to different types from channel_last.tmpl...
Tero Marttila <terom@fixme.fi>
parents: 70
diff changeset
    13
<div id="other-formats">
a0662cff1d9d add RSSFormatter, and link to different types from channel_last.tmpl...
Tero Marttila <terom@fixme.fi>
parents: 70
diff changeset
    14
    Other formats available:<br/>
114
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
    15
        <a href="${h.url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
    16
    |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
d4848d807fd1 center calendar list, add prev/next date to channel_link, add view-last-x-lines form to channel_last/channel
Tero Marttila <terom@fixme.fi>
parents: 80
diff changeset
    17
    |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
80
a0662cff1d9d add RSSFormatter, and link to different types from channel_last.tmpl...
Tero Marttila <terom@fixme.fi>
parents: 70
diff changeset
    18
</div>