* sticky footer
This commit is contained in:
parent
67b50be2fe
commit
d860239863
1 changed files with 20 additions and 31 deletions
25
src/Blog.hs
25
src/Blog.hs
|
@ -45,20 +45,7 @@ markdownCutoff = fromJust $ parseTime defaultTimeLocale "%s" "1367149834"
|
||||||
stylesheetSource = $(luciusFile "../res/blogbs.lucius")
|
stylesheetSource = $(luciusFile "../res/blogbs.lucius")
|
||||||
blogStyle = renderCssUrl undefined stylesheetSource
|
blogStyle = renderCssUrl undefined stylesheetSource
|
||||||
|
|
||||||
-- <link rel="stylesheet" type="text/css" href="/static/blogv34.css" media="all">
|
-- <link rel="stylesheet" type="text/css" href="/static/blogv34.css" media="all"> FIXME
|
||||||
|
|
||||||
{-
|
|
||||||
<div class="header">
|
|
||||||
<p style="clear: both;">
|
|
||||||
<span class="contacts" id="cosx">^{contactInfo}
|
|
||||||
<span class="righttext">^{preEscapedToHtml $ rightText lang}
|
|
||||||
<div class="middle">
|
|
||||||
^{body}
|
|
||||||
<div class="footer">
|
|
||||||
^{showFooter lang $ pack version}
|
|
||||||
<div class="centerbox">
|
|
||||||
<span style="font-size:17px;font-family:Helvetica;">ಠ_ಠ
|
|
||||||
-}
|
|
||||||
|
|
||||||
-- blog HTML
|
-- blog HTML
|
||||||
blogTemplate :: BlogLang -> Text -> Html -> Html
|
blogTemplate :: BlogLang -> Text -> Html -> Html
|
||||||
|
@ -71,6 +58,7 @@ $doctype 5
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS-Feed" href=#{rssUrl}>
|
<link rel="alternate" type="application/rss+xml" title="RSS-Feed" href=#{rssUrl}>
|
||||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
|
||||||
<body>
|
<body>
|
||||||
|
<div #wrap>
|
||||||
<div .header>
|
<div .header>
|
||||||
<div .container >
|
<div .container >
|
||||||
<div .row>
|
<div .row>
|
||||||
|
@ -398,9 +386,10 @@ commentDeleted eId = adminTemplate "Kommentar gelöscht" $ [shamlet|
|
||||||
|
|
||||||
showError :: BlogError -> BlogLang -> Html
|
showError :: BlogError -> BlogLang -> Html
|
||||||
showError NotFound l = blogTemplate l (T.append ": " $ notFoundTitle l) $ [shamlet|
|
showError NotFound l = blogTemplate l (T.append ": " $ notFoundTitle l) $ [shamlet|
|
||||||
<span class="innerTitle">#{notFoundTitle l}
|
<div .row .text-center>
|
||||||
<div class="innerTitle">
|
<div .span12 .notFoundFace>:(
|
||||||
<p class="notFoundFace">:(
|
<div .row .text-center>
|
||||||
<p class="notFoundText">#{notFoundText l}
|
<div .span12 .notFoundText>
|
||||||
|
#{notFoundText l}
|
||||||
|]
|
|]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue