eidolon/templates/default-layout.hamlet
2014-08-12 18:14:59 +02:00

17 lines
308 B
Text

<nav>
<div id="top-nav">
<ul id="user-nav">
$maybe user <- msu
Logged in as #{fromJust msu}
<li>
<a href=@{LogoutR}>Logout
$nothing
<li>
<a href=@{LoginR}>Login
<li>
<a href=@{SignupR}>Signup
$maybe msg <- mmsg
<div #message>#{msg}
^{widget}