17 lines
308 B
Text
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}
|