eidolon/templates/default-layout.hamlet

78 lines
2.2 KiB
Plaintext
Raw Normal View History

<nav id="header">
2016-03-02 10:24:50 +00:00
<div .row>
<div .col-md-9>
2016-05-04 03:07:16 +00:00
<ul #user-nav .nav .nav-pills>
2016-03-02 08:52:22 +00:00
<li role="presentation">
2016-05-04 03:07:16 +00:00
<a href=@{HomeR}>
Home
2016-03-02 10:24:50 +00:00
$maybe su <- msu
2016-05-04 03:07:16 +00:00
<li .dropdown role="presentation">
<a .dropdown-toggle data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">
#{slug} <span class="caret"></span>
<ul .dropdown-menu>
<li>
<a href=@{UserR username}>
Your Profile
<li >
<a href=@{NewAlbumR}>
Create album
<li >
<a href=@{UploadR}>
Upload images
<li >
<a href=@{LogoutR}>
Logout
2016-03-02 10:24:50 +00:00
$nothing
<li role="presentation">
2016-05-04 03:07:16 +00:00
<a href=@{LoginR}>
Login
2016-03-02 10:24:50 +00:00
$if block == False
<li role="presentation">
2016-05-04 03:07:16 +00:00
<a href=@{SignupR}>
Signup
2016-03-02 10:24:50 +00:00
<div .col-md-3 #search>
^{pageBody searchWidget}
2014-08-12 16:14:59 +00:00
2014-08-09 18:33:22 +00:00
$maybe msg <- mmsg
<div #message>#{msg}
<div id="main" role="main">
^{pageBody wc}
<div id="footer">
<div class="left">
^{pageBody copyrightWidget}
2015-08-18 21:57:50 +00:00
<div class="right">
$case route
$of Just HomeR
get a Feed from This:
2015-08-19 01:48:31 +00:00
<a href="@{RootFeedAtomR}">Atom
2015-08-18 21:57:50 +00:00
|
2015-08-19 01:48:31 +00:00
<a href="@{RootFeedRssR}">RSS
2015-08-18 21:57:50 +00:00
$of Just (PageR _)
get a Feed from This:
2015-08-19 01:48:31 +00:00
<a href="@{RootFeedAtomR}">Atom
2015-08-18 21:57:50 +00:00
|
2015-08-19 01:48:31 +00:00
<a href="@{RootFeedRssR}">RSS
2015-08-18 21:57:50 +00:00
$of Just (ProfileR uId)
get a Feed from This:
2015-08-19 01:48:31 +00:00
<a href="@{UserFeedAtomR uId}">Atom
2015-08-18 21:57:50 +00:00
|
2015-08-19 01:48:31 +00:00
<a href="@{UserFeedRssR uId}">RSS
2015-08-18 21:57:50 +00:00
$of Just (UserR name)
get a Feed from This:
2015-08-19 01:48:31 +00:00
<a href="@{NameFeedAtomR name}">Atom
2015-08-18 21:57:50 +00:00
|
2015-08-19 01:48:31 +00:00
<a href="@{NameFeedRssR name}">RSS
2015-08-18 21:57:50 +00:00
$of Just (AlbumR aId)
get a Feed from This:
2015-08-19 01:48:31 +00:00
<a href="@{AlbumFeedAtomR aId}">Atom
2015-08-18 21:57:50 +00:00
|
2015-08-19 01:48:31 +00:00
<a href="@{AlbumFeedRssR aId}">RSS
$of Just (MediumR mId)
get a Feed from This:
<a href="@{CommentFeedAtomR mId}">Atom
|
<a href="@{CommentFeedRssR mId}">RSS
2015-08-18 21:57:50 +00:00
$of _