<html>
<head>
<title>${title()} — Floof</title>
+<link rel="stylesheet" type="text/css" href="/reset.css">
+<link rel="stylesheet" type="text/css" href="/layout.css">
</head>
<body>
-% if c.user:
-<p>sup ${c.user.name}</p>
-% else:
-<p>not logged in</p>
-% endif
+<div id="header">
+ <div id="user">
+ % if c.user:
+ <p>Logged in as ${c.user.name}</p>
+ % else:
+ <form action="${url(controller='account', action='login_begin')}" method="POST">
+ <p>
+ Identity URL: <input type="text" name="identity_url">
+ <input type="submit" value="Log in">
+ </p>
+ </form>
+ % endif
+ </div>
+</div>
+<div id="body">
${next.body()}
+</div>
+<div id="footer">
+ <p>Powered by floof</p>
+</div>
</body>
</html>