eidolon/templates/default-layout.hamlet

20 lines
359 B
Text
Raw Normal View History

2014-08-12 16:14:59 +00:00
<nav>
<div id="top-nav">
<ul id="user-nav">
$maybe user <- msu
Logged in as #{fromJust msu}
<li>
<a href=@{LogoutR}>Logout
<li>
<a href=@{UploadR}>Upload image
2014-08-12 16:14:59 +00:00
$nothing
<li>
<a href=@{LoginR}>Login
<li>
<a href=@{SignupR}>Signup
2014-08-09 18:33:22 +00:00
$maybe msg <- mmsg
<div #message>#{msg}
^{widget}