Switched existing sqla code over to elixir style.
[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     <div id="user">
12         % if c.user:
13         <p>Logged in as ${c.user.name}</p>
14         % else:
15         <form action="${url(controller='account', action='login_begin')}" method="POST">
16         <p>
17             Identity URL: <input type="text" name="identity_url">
18             <input type="submit" value="Log in">
19         </p>
20         </form>
21         % endif
22     </div>
23 </div>
24 <div id="body">
25 ${next.body()}
26 </div>
27 <div id="footer">
28     <p>Powered by floof</p>
29 </div>
30 </body>
31 </html>