1 <%def name="title()">Untitled</%def>\
5 <title>${title()} — Floof</title>
6 <link rel="stylesheet" type="text/css" href="/reset.css">
7 <link rel="stylesheet" type="text/css" href="/layout.css">
11 <a href="${h.url_for("/")}">Home</a>
14 | <a href="${h.url("new_art")}">Add Art</a>
15 | <a href="${h.url_for(controller="search", action="list")}">Your Searches</a>
16 | <a href="${h.url_for(controller="art", action="watchstream", name=c.user.name.lower())}">Watchstream</a>
17 ## | <a href="${h.url_for("/users/"+c.user}">Your Page</a>
20 ${h.form(url('search'), method='GET')}
21 ${h.text('query', c.query)}
22 ${h.submit('button', 'Search')}
25 ${h.submit('button', 'Save')}
28 ## Note: should probably only display "save" when we're on a results page
29 ## Also, what if we had it save a hidden form containing the search result that was
30 ## actually rendered? Might be confusing though.
35 <form action="${url(controller='account', action='logout')}" method="POST">
36 <p>Logged in as <a href="${h.url('user_page', name=c.user.name.lower())}">${c.user.name}</a>. ${h.submit(None, 'Log out')}</p>
39 <form action="${url(controller='account', action='login_begin')}" method="POST">
40 <p>Log in or register with <img src="/icons/openid.png" alt="OpenID" title="OpenID"> OpenID:</p>
42 <input type="text" name="identity_url" id="identity-url">
43 <input type="submit" value="Log in">
45 <p class="what"><a href="${url(controller='account', action='login')}">What's this?</a></p>
53 <% messages = h.flash.pop_messages() %>
55 <ul id="flash-messages">
56 % for message in messages:
67 <p>Powered by floof</p>
68 <p>Fugue icon set by <a href="http://www.pinvoke.com/">Yusuke Kamiyamane</a></p>