2014-08-12 16:14:59 +00:00
|
|
|
<nav>
|
|
|
|
<div id="top-nav">
|
|
|
|
<ul id="user-nav">
|
2014-09-21 16:44:11 +00:00
|
|
|
<li>
|
|
|
|
<a href=@{HomeR}>Home
|
2014-08-13 20:30:48 +00:00
|
|
|
$maybe userId <- msu
|
2014-09-14 03:07:20 +00:00
|
|
|
Logged in as <a href=@{UserR username}>#{slug}<br>
|
2014-08-12 16:14:59 +00:00
|
|
|
<li>
|
|
|
|
<a href=@{LogoutR}>Logout
|
2014-08-12 21:45:33 +00:00
|
|
|
<li>
|
2014-08-14 00:24:28 +00:00
|
|
|
<a href=@{NewAlbumR}>Create album
|
2014-08-17 21:01:25 +00:00
|
|
|
<li>
|
|
|
|
<a href=@{UploadR}>Upload image
|
2014-08-12 16:14:59 +00:00
|
|
|
$nothing
|
|
|
|
<li>
|
|
|
|
<a href=@{LoginR}>Login
|
2014-12-14 19:22:50 +00:00
|
|
|
$if block == False
|
|
|
|
<li>
|
|
|
|
<a href=@{SignupR}>Signup
|
2014-08-12 16:14:59 +00:00
|
|
|
|
|
|
|
|
2014-08-09 18:33:22 +00:00
|
|
|
$maybe msg <- mmsg
|
|
|
|
<div #message>#{msg}
|
|
|
|
^{widget}
|