author | Tero Marttila <terom@fixme.fi> |
Sun, 15 Feb 2009 23:55:48 +0200 | |
changeset 130 | 4212fd69d671 |
parent 114 | d4848d807fd1 |
permissions | -rw-r--r-- |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
1 |
<%inherit file="layout.tmpl" /> |
40 | 2 |
|
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
3 |
<%def name="menu()"> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
4 |
<ul> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
5 |
<li><a href="${urls.index.build(req)}">Home</a></li> |
59
8ec729c5d998
ugly, but working, preferences editor
Tero Marttila <terom@fixme.fi>
parents:
57
diff
changeset
|
6 |
<li><a href="${urls.preferences.build(req)}">Preferences</a></li> |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
7 |
|
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
8 |
<li> |
70
72edbbb414a7
merge channel_view and channel_last, adding a More link to channel_last.tmpl
Tero Marttila <terom@fixme.fi>
parents:
68
diff
changeset
|
9 |
<a href="${urls.channel.build(req, channel=channel)}">Channel:</a> |
56 | 10 |
</li><li class="join-left"> |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
11 |
<form action="${urls.channel_select.build(req)}" method="GET"> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
12 |
<select name="channel"> |
79 | 13 |
${h.select_options(((ch.id, ch.title) for ch in channel_list), channel.id)} |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
14 |
</select><input type="submit" value="Go »" /> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
15 |
</form> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
16 |
</li> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
17 |
|
55 | 18 |
<li><a href="${urls.channel_calendar.build(req, channel=channel)}">Browse by Date</a></li> |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
19 |
|
49
aaa62c8e5bd5
add search form to menu, remove styling from inputs/selects other than the submit button
Tero Marttila <terom@fixme.fi>
parents:
48
diff
changeset
|
20 |
<li> |
64
cdb6403c2498
beginnings of a LogSearchIndex class
Tero Marttila <terom@fixme.fi>
parents:
62
diff
changeset
|
21 |
<a href="${h.build_url(urls.channel_search, channel=channel)}">Search:</a> |
cdb6403c2498
beginnings of a LogSearchIndex class
Tero Marttila <terom@fixme.fi>
parents:
62
diff
changeset
|
22 |
</li><li class="join-left"> |
52
dcb67a8f24be
fix to use url.build properly
Tero Marttila <terom@fixme.fi>
parents:
50
diff
changeset
|
23 |
<form action="${urls.channel_search.build(req, channel=channel)}" method="GET"> |
68 | 24 |
<input type="hidden" name="count" value="100" /> |
25 |
<input type="text" name="q" value="${search_query if search_query else ''}" /> |
|
49
aaa62c8e5bd5
add search form to menu, remove styling from inputs/selects other than the submit button
Tero Marttila <terom@fixme.fi>
parents:
48
diff
changeset
|
26 |
<input type="submit" value="Go »" /> |
aaa62c8e5bd5
add search form to menu, remove styling from inputs/selects other than the submit button
Tero Marttila <terom@fixme.fi>
parents:
48
diff
changeset
|
27 |
</form> |
aaa62c8e5bd5
add search form to menu, remove styling from inputs/selects other than the submit button
Tero Marttila <terom@fixme.fi>
parents:
48
diff
changeset
|
28 |
</li> |
85
0521cf830eb9
misc. template clean (hide RSS link, remove extra whitespace from calendar source
Tero Marttila <terom@fixme.fi>
parents:
79
diff
changeset
|
29 |
<!-- |
0521cf830eb9
misc. template clean (hide RSS link, remove extra whitespace from calendar source
Tero Marttila <terom@fixme.fi>
parents:
79
diff
changeset
|
30 |
<li><a href="${h.build_url(urls.channel_last, channel=channel, count=count or None, type='rss')}">[RSS]</a></li> |
0521cf830eb9
misc. template clean (hide RSS link, remove extra whitespace from calendar source
Tero Marttila <terom@fixme.fi>
parents:
79
diff
changeset
|
31 |
--> |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
32 |
</ul> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
33 |
</%def> |
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
34 |
|
50
f13cf27a360b
implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
49
diff
changeset
|
35 |
${next.body()} |
42
5a72c00c4ae4
more fiddling around with the irclogs layout/css, add query args to URL
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
36 |
|
50
f13cf27a360b
implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
49
diff
changeset
|
37 |
<%def name="footer_right()"> |
71
e909bde831e7
fix index.tmpl, and change tz_name to %Z%z format
Tero Marttila <terom@fixme.fi>
parents:
70
diff
changeset
|
38 |
All times are in <a href="${h.build_url(urls.preferences)}">${h.tz_name(prefs['timezone'])}</a> |
50
f13cf27a360b
implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
Tero Marttila <terom@fixme.fi>
parents:
49
diff
changeset
|
39 |
</%def> |