19 lines
406 B
Text
19 lines
406 B
Text
<nav>
|
|
<div id="top-nav">
|
|
<ul id="user-nav">
|
|
$maybe userId <- msu
|
|
Logged in as <a href=@{ProfileR $ getUserIdFromText userId}>#{username}
|
|
<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}
|