Shuffled base.mako into something like a wireframe design.
[zzz-floof.git] / floof / templates / base.mako
index 50bed27..28003c5 100644 (file)
@@ -7,11 +7,25 @@
 <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>