fix navbar on error page

This commit is contained in:
Sören Brunk 2014-04-27 23:31:31 +02:00
parent 265a95bc05
commit 036aa129f7
2 changed files with 25 additions and 17 deletions

View file

@ -75,6 +75,8 @@ instance Yesod WebApp where
pageinfo <- widgetToPageContent $ do
addStylesheet $ StaticR css_bootstrap_css
addStylesheet $ StaticR css_bootstrap_theme_css
addScript $ StaticR js_jquery_full_js
addScript $ StaticR js_bootstrap_js
$(widgetFile "error")
giveUrlRenderer $(hamletFile $ hamletTemplate "bootstrap")

View file

@ -1,24 +1,30 @@
<div .navbar .navbar-inverse .navbar-fixed-top>
<div .container>
<a .navbar-brand>
git-annex
<ul .nav>
<li .active>
<a href="">
Error
<li>
<a href="" onclick="history.back(-1);return false">
Go Back
<li>
<a href="@{LogR}">
View logs
<li>
<a href="http://git-annex.branchable.com/bugs/">
File a Bug
<div .navbar-header>
<button type="button" .navbar-toggle data-toggle="collapse" data-target=".navbar-collapse">
<span .sr-only>Toggle navigation
<span .icon-bar>
<span .icon-bar>
<span .icon-bar>
<a .navbar-brand>
git-annex
<div .navbar-collapse .collapse>
<ul .nav .navbar-nav>
<li .active>
<a href="">
Error
<li>
<a href="" onclick="history.back(-1);return false">
Go Back
<li>
<a href="@{LogR}">
View logs
<li>
<a href="http://git-annex.branchable.com/bugs/">
File a Bug
<div .container-fluid>
<div .row>
<div .col-sm-3>
<div .col-sm-6>
<div .col-sm-6 .col-sm-offset-3>
<div .alert .alert-danger .alert-block>
^{content}
<hr>