* sticky footer

This commit is contained in:
"Vincent Ambo ext:(%22) 2013-05-05 21:05:05 +02:00
parent 67b50be2fe
commit d860239863

View file

@ -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,19 +58,20 @@ $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 .header> <div #wrap>
<div .container > <div .header>
<div .row> <div .container >
<div .span12 .blogtitle> <div .row>
<a class="btitle" href=#{append "/" (show' lang)}>#{blogTitle lang empty} <div .span12 .blogtitle>
<div .row> <a class="btitle" href=#{append "/" (show' lang)}>#{blogTitle lang empty}
<br> <div .row>
<div .span6> <br>
<span .contacts #cosx>^{contactInfo} <div .span6>
<div .span6> <span .contacts #cosx>^{contactInfo}
<span .righttext>^{preEscapedToHtml $ rightText lang} <div .span6>
<div .container> <span .righttext>^{preEscapedToHtml $ rightText lang}
^{body} <div .container>
^{body}
<footer .footer> <footer .footer>
^{showFooter lang $ pack version} ^{showFooter lang $ pack version}
|] |]
@ -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}
|] |]