X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/68a31d533aba7490c3f1f812075e8ab6eb9265d0..1dfae8eecba58adb311514ce7f284ed610834d6c:/floof/templates/base.mako diff --git a/floof/templates/base.mako b/floof/templates/base.mako index 50bed27..2fb385a 100644 --- a/floof/templates/base.mako +++ b/floof/templates/base.mako @@ -7,11 +7,65 @@
+sup ${c.user.name}
-% else: -not logged in
+| Add Art +| Your Searches +| Watchstream +## | Your Page % endif + +${h.form(url('search'), method='GET')} +${h.text('query', c.query)} +${h.submit('button', 'Search')} + +% if c.user: +${h.submit('button', 'Save')} +% endif + +## Note: should probably only display "save" when we're on a results page +## Also, what if we had it save a hidden form containing the search result that was +## actually rendered? Might be confusing though. +${h.end_form()} + +