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

19 lines
357 B
Text

<nav>
<div id="top-nav">
<ul id="user-nav">
$maybe userId <- msu
Logged in as #{userId}
<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}