2016-06-16 18:52:07 +00:00
|
|
|
<nav>
|
2016-03-02 10:24:50 +00:00
|
|
|
<div .row>
|
2016-08-30 12:22:00 +00:00
|
|
|
<div .col-md-9 .col-sm-6>
|
2016-06-12 11:52:28 +00:00
|
|
|
<ul #user-nav>
|
2016-06-12 10:22:11 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{HomeR}>
|
|
|
|
Home
|
2016-08-24 18:01:11 +00:00
|
|
|
$maybe _ <- msu
|
2016-06-12 10:22:11 +00:00
|
|
|
<li>
|
2016-06-12 11:52:28 +00:00
|
|
|
<label for="cb1">
|
|
|
|
<a>
|
|
|
|
#{slug}<span class="caret"></span>
|
|
|
|
<input type="checkbox" #cb1 .vanish aria-hidden="true">
|
2016-06-12 10:22:11 +00:00
|
|
|
<ul>
|
2016-05-04 03:07:16 +00:00
|
|
|
<li>
|
|
|
|
<a href=@{UserR username}>
|
|
|
|
Your Profile
|
2016-06-12 11:52:28 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{NewAlbumR}>
|
|
|
|
Create album
|
2016-06-12 11:52:28 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{UploadR}>
|
|
|
|
Upload images
|
2016-06-12 11:52:28 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{LogoutR}>
|
|
|
|
Logout
|
2016-08-30 12:22:00 +00:00
|
|
|
$maybe admin <- madmin
|
|
|
|
$if admin
|
|
|
|
<li>
|
|
|
|
<a href=@{AdminR} .red>
|
|
|
|
Administration
|
2016-03-02 10:24:50 +00:00
|
|
|
$nothing
|
2016-06-12 10:22:11 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{LoginR}>
|
|
|
|
Login
|
2016-03-02 10:24:50 +00:00
|
|
|
$if block == False
|
2016-06-12 10:22:11 +00:00
|
|
|
<li>
|
2016-05-04 03:07:16 +00:00
|
|
|
<a href=@{SignupR}>
|
|
|
|
Signup
|
2016-09-04 17:56:36 +00:00
|
|
|
<!--<div .col-md-3 .col-sm-6 #search>
|
|
|
|
^{pageBody searchWidget}-->
|
2014-08-12 16:14:59 +00:00
|
|
|
|
2014-08-09 18:33:22 +00:00
|
|
|
$maybe msg <- mmsg
|
2015-01-11 07:06:48 +00:00
|
|
|
<div #message>#{msg}
|
|
|
|
|
2016-08-31 19:37:20 +00:00
|
|
|
<div .reel role="main">
|
2015-01-11 07:06:48 +00:00
|
|
|
^{pageBody wc}
|