--- /dev/null
+#header { padding: 1em; background: #c0c0c0; }
+#header #user { text-align: right; }
+
+#body { padding: 1em; }
+
+#footer { padding: 1em; background: #c0c0c0; }
<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>