X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/224a257ade788e1a87aab78032dc3cdc9677cc06..ce1c8b25f961df0810d735d2337a790e0563f4af:/floof/templates/base.mako diff --git a/floof/templates/base.mako b/floof/templates/base.mako index 340cdf9..0f3597c 100644 --- a/floof/templates/base.mako +++ b/floof/templates/base.mako @@ -3,13 +3,66 @@
sup ${c.user.name}
-% else: -not logged in
+| Add Art +| Your Searches +| Watchstream +## | Your Page % endif + +${h.form(h.url_for('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()} + +