templates/channel_last.tmpl
changeset 114 d4848d807fd1
parent 80 a0662cff1d9d
equal deleted inserted replaced
113:9fc0eb751b6a 114:d4848d807fd1
     1 <%inherit file="channel.tmpl" />
     1 <%inherit file="channel.tmpl" />
     2 
     2 
     3 <div id="title">${channel.title} :: Last ${count} lines</div>
     3 <div id="title">${channel.title} :: Last ${count} lines</div>
     4 
     4 
     5 <a href="${h.build_url(urls.channel_last, channel=channel, count=count+50)}" class='more-link'>...More...</a>
     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 
     6 <%include file="lines.tmpl" />
    11 <%include file="lines.tmpl" />
     7 
    12 
     8 <div id="other-formats">
    13 <div id="other-formats">
     9     Other formats available:<br/>
    14     Other formats available:<br/>
    10         <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
    15         <a href="${h.url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
    11     |   <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
    16     |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
    12     |   <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
    17     |   <a href="${h.url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
    13 </div>
    18 </div>