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("/users/"+c.user}">Your Page</a>
19 ${h.form(h.url_for('search'), method='GET')}
20 ${h.text('query', c.query)}
21 ${h.submit('button', 'Search')}
24 ${h.submit('button', 'Save')}
27 ## Note: should probably only display "save" when we're on a results page
28 ## Also, what if we had it save a hidden form containing the search result that was
29 ## actually rendered? Might be confusing though.
34 <form action="${url(controller='account', action='logout')}" method="POST">
35 <p>Logged in as <a href="${h.url('user_page', name=c.user.name)}">${c.user.name}</a>. ${h.submit(None, 'Log out')}</p>
38 <form action="${url(controller='account', action='login_begin')}" method="POST">
40 Identity URL: <input type="text" name="identity_url">
41 <input type="submit" value="Log in">
50 <% messages = h.flash.pop_messages() %>
52 <ul id="flash-messages">
53 % for message in messages:
64 <p>Powered by floof</p>