templates/channel_last.tmpl
changeset 143 154d2d8ae9c0
parent 142 e163794ccf54
child 144 35c4c56f1376
equal deleted inserted replaced
142:e163794ccf54 143:154d2d8ae9c0
     1 <%inherit file="channel.tmpl" />
       
     2 
       
     3 <div id="title">${channel.title} :: Last ${count} lines</div>
       
     4 
       
     5 <form action="${h.url(urls.channel_last, channel=channel)}" method="GET">
       
     6     View last <select name="count">
       
     7         ${h.select_options(((None, cc) for cc in (10, 20, 50, 100, 200, 500, 1000)), count)}
       
     8     </select> lines: <input type="submit" value="Go &raquo;" />
       
     9 </form>
       
    10 
       
    11 <%include file="lines.tmpl" />
       
    12 
       
    13 <div id="other-formats">
       
    14     Other formats available:<br/>
       
    15         <a href="${h.url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
       
    16     |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
       
    17     |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
       
    18 </div>