fix navbar on error page
This commit is contained in:
parent
265a95bc05
commit
036aa129f7
2 changed files with 25 additions and 17 deletions
|
@ -75,6 +75,8 @@ instance Yesod WebApp where
|
||||||
pageinfo <- widgetToPageContent $ do
|
pageinfo <- widgetToPageContent $ do
|
||||||
addStylesheet $ StaticR css_bootstrap_css
|
addStylesheet $ StaticR css_bootstrap_css
|
||||||
addStylesheet $ StaticR css_bootstrap_theme_css
|
addStylesheet $ StaticR css_bootstrap_theme_css
|
||||||
|
addScript $ StaticR js_jquery_full_js
|
||||||
|
addScript $ StaticR js_bootstrap_js
|
||||||
$(widgetFile "error")
|
$(widgetFile "error")
|
||||||
giveUrlRenderer $(hamletFile $ hamletTemplate "bootstrap")
|
giveUrlRenderer $(hamletFile $ hamletTemplate "bootstrap")
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,30 @@
|
||||||
<div .navbar .navbar-inverse .navbar-fixed-top>
|
<div .navbar .navbar-inverse .navbar-fixed-top>
|
||||||
<div .container>
|
<div .container>
|
||||||
<a .navbar-brand>
|
<div .navbar-header>
|
||||||
git-annex
|
<button type="button" .navbar-toggle data-toggle="collapse" data-target=".navbar-collapse">
|
||||||
<ul .nav>
|
<span .sr-only>Toggle navigation
|
||||||
<li .active>
|
<span .icon-bar>
|
||||||
<a href="">
|
<span .icon-bar>
|
||||||
Error
|
<span .icon-bar>
|
||||||
<li>
|
<a .navbar-brand>
|
||||||
<a href="" onclick="history.back(-1);return false">
|
git-annex
|
||||||
Go Back
|
<div .navbar-collapse .collapse>
|
||||||
<li>
|
<ul .nav .navbar-nav>
|
||||||
<a href="@{LogR}">
|
<li .active>
|
||||||
View logs
|
<a href="">
|
||||||
<li>
|
Error
|
||||||
<a href="http://git-annex.branchable.com/bugs/">
|
<li>
|
||||||
File a Bug
|
<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 .container-fluid>
|
||||||
<div .row>
|
<div .row>
|
||||||
<div .col-sm-3>
|
<div .col-sm-6 .col-sm-offset-3>
|
||||||
<div .col-sm-6>
|
|
||||||
<div .alert .alert-danger .alert-block>
|
<div .alert .alert-danger .alert-block>
|
||||||
^{content}
|
^{content}
|
||||||
<hr>
|
<hr>
|
||||||
|
|
Loading…
Reference in a new issue