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(h.url_for('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">
41 Identity URL: <input type="text" name="identity_url">
42 <input type="submit" value="Log in">
51 <% messages = h.flash.pop_messages() %>
53 <ul id="flash-messages">
54 % for message in messages:
65 <p>Powered by floof</p>