equal
deleted
inserted
replaced
|
1 <%inherit file="layout.tmpl" /> |
|
2 |
|
3 <%def name="menu()"> |
|
4 <ul> |
|
5 <li><a href="${urls.index.build(req)}">Home</a></li> |
|
6 <li><a href="${urls.preferences.build(req)}">Preferences</a></li> |
|
7 |
|
8 <li> |
|
9 <a href="${urls.channel.build(req, channel=channel)}">Channel:</a> |
|
10 </li><li class="join-left"> |
|
11 <form action="${urls.channel_select.build(req)}" method="GET"> |
|
12 <select name="channel"> |
|
13 ${h.select_options(((ch.id, ch.title) for ch in channel_list), channel.id)} |
|
14 </select><input type="submit" value="Go »" /> |
|
15 </form> |
|
16 </li> |
|
17 |
|
18 <li><a href="${urls.channel_calendar.build(req, channel=channel)}">Browse by Date</a></li> |
|
19 |
|
20 <li> |
|
21 <a href="${h.build_url(urls.channel_search, channel=channel)}">Search:</a> |
|
22 </li><li class="join-left"> |
|
23 <form action="${urls.channel_search.build(req, channel=channel)}" method="GET"> |
|
24 <input type="hidden" name="count" value="100" /> |
|
25 <input type="text" name="q" value="${search_query if search_query else ''}" /> |
|
26 <input type="submit" value="Go »" /> |
|
27 </form> |
|
28 </li> |
|
29 <!-- |
|
30 <li><a href="${h.build_url(urls.channel_last, channel=channel, count=count or None, type='rss')}">[RSS]</a></li> |
|
31 --> |
|
32 </ul> |
|
33 </%def> |
|
34 |
|
35 ${next.body()} |
|
36 |
|
37 <%def name="footer_right()"> |
|
38 All times are in <a href="${h.build_url(urls.preferences)}">${h.tz_name(prefs['timezone'])}</a> |
|
39 </%def> |