uploaded by works, and now you can view art on its own page.
[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     <div id="user">
14         % if c.user:
15         <p>Logged in as ${c.user.name}</p>
16         % else:
17         <form action="${url(controller='account', action='login_begin')}" method="POST">
18         <p>
19             Identity URL: <input type="text" name="identity_url">
20             <input type="submit" value="Log in">
21         </p>
22         </form>
23         % endif
24     </div>
25
26
27 </div>
28 <div id="body">
29 ${next.body()}
30 </div>
31 <div id="footer">
32     <p>Powered by floof</p>
33 </div>
34 </body>
35 </html>