--- a/templates/layout.tmpl Tue Feb 10 04:27:22 2009 +0200
+++ b/templates/layout.tmpl Tue Feb 10 05:56:57 2009 +0200
@@ -4,6 +4,16 @@
<ul>
<li><a href="${urls.index.build(req)}">Home</a></li>
<li><a href="${urls.preferences.build(req)}">Preferences</a></li>
+
+ <li>
+ <span>Channel:</span>
+ </li><li class="join-left">
+ <form action="${urls.channel_select.build(req)}" method="GET">
+ <select name="channel">
+ ${h.select_options(((ch.id, ch.title) for ch in channel_list), channel.id if channel else None)}
+ </select><input type="submit" value="Go »" />
+ </form>
+ </li>
</ul>
</%def>