eidolon/templates/default-layout.hamlet
2014-08-15 13:24:14 +02:00

19 lines
400 B
Text

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