[blog] Update error page for new design
This commit is contained in:
parent
d7d428d597
commit
41599161fa
1 changed files with 6 additions and 10 deletions
16
src/Blog.hs
16
src/Blog.hs
|
@ -222,16 +222,12 @@ editPage (Entry{..}) = adminTemplate "Index" $ [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|
|
||||||
<div .row .text-center>
|
<p>:(
|
||||||
<div .span12 .notFoundFace>:(
|
<p>#{notFoundText l}
|
||||||
<div .row .text-center>
|
<hr>
|
||||||
<div .span12 .notFoundText>
|
|
||||||
#{notFoundText l}
|
|
||||||
|]
|
|]
|
||||||
showError UnknownError l = blogTemplate l "" $ [shamlet|
|
showError UnknownError l = blogTemplate l "" $ [shamlet|
|
||||||
<div .row .text-center>
|
<p>:(
|
||||||
<div .span12 .notFoundFace>:(
|
<p>#{unknownErrorText l}
|
||||||
<div .row .text-center>
|
<hr>
|
||||||
<div .span12 .notFoundText>
|
|
||||||
#{unknownErrorText l}
|
|
||||||
|]
|
|]
|
||||||
|
|
Loading…
Reference in a new issue