equal
deleted
inserted
replaced
15 </select><input type="submit" value="Go »" /> |
15 </select><input type="submit" value="Go »" /> |
16 </form> |
16 </form> |
17 </li> |
17 </li> |
18 |
18 |
19 <li> |
19 <li> |
20 <form action="#" method="GET"> |
20 <form action="" method="GET"> |
21 View last |
21 View last |
22 |
22 |
23 <select name="count"> |
23 <select name="count"> |
24 % for count in (10, 20, 50, 100, 'all') : |
24 % for cc in (10, 20, 50, 100, 'all') : |
25 <option>${count}</option> |
25 <option${' selected="selected"' if cc == count else ''}>${cc}</option> |
26 % endfor |
26 % endfor |
27 </select> |
27 </select> |
28 |
28 |
29 lines: <input type="submit" value="Go »" /> |
29 lines: <input type="submit" value="Go »" /> |
30 </form> |
30 </form> |
36 |
36 |
37 <li><a href="#">[RSS]</a></li> |
37 <li><a href="#">[RSS]</a></li> |
38 </ul> |
38 </ul> |
39 </%def> |
39 </%def> |
40 |
40 |
41 <h1>${channel.title} » Last 10 lines</h1> |
41 <h1>${channel.title} » Last ${count} lines</h1> |
42 |
42 |
43 <pre> |
43 <pre> |
44 % for line in channel.source.get_latest(10) : |
44 % for line in lines : |
45 ${line} |
45 ${line} |
46 % endfor |
46 % endfor |
47 </pre> |
47 </pre> |
48 |
48 |