X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/68a31d533aba7490c3f1f812075e8ab6eb9265d0..40a5c182712d31d44aeacddd16a457f5ab707de7:/floof/templates/base.mako?ds=sidebyside diff --git a/floof/templates/base.mako b/floof/templates/base.mako index 50bed27..e4acc6f 100644 --- a/floof/templates/base.mako +++ b/floof/templates/base.mako @@ -7,11 +7,61 @@
+sup ${c.user.name}
-% else: -not logged in
+| Add Art +| Your Searches +## | 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()} + +