Fix search to do an AND of tags, not OR.
[zzz-floof.git] / floof / templates / base.mako
1 <%def name="title()">Untitled</%def>\
2 <!DOCTYPE html>
3 <html>
4 <head>
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">
8 </head>
9 <body>
10 <div id="header">
11 <a href="${h.url_for("/")}">Home</a>
12
13 ${h.form (h.url_for(controller="search", action="results"))}
14 ${h.text('query')} ${h.submit('search','Search')}
15 ${h.end_form()}
16
17     <div id="user">
18         % if c.user:
19         <p>Logged in as ${c.user.name}</p>
20         % else:
21         <form action="${url(controller='account', action='login_begin')}" method="POST">
22         <p>
23             Identity URL: <input type="text" name="identity_url">
24             <input type="submit" value="Log in">
25         </p>
26         </form>
27         % endif
28     </div>
29
30
31 </div>
32 <div id="body">
33 ${next.body()}
34 </div>
35 <div id="footer">
36     <p>Powered by floof</p>
37 </div>
38 </body>
39 </html>