added links to the bottom of some pages

This commit is contained in:
nilsding 2014-11-17 13:19:59 +01:00
parent 493bfe881c
commit 4701b8a37e
6 changed files with 18 additions and 4 deletions

View File

@ -7,3 +7,7 @@ body {
.j2-page { .j2-page {
padding-top: 30px; padding-top: 30px;
} }
.centre {
text-align: center;
}

View File

@ -17,4 +17,6 @@
- if @inbox.empty? - if @inbox.empty?
Nothing to see here. Nothing to see here.
= render "shared/links"

View File

@ -23,3 +23,5 @@
.col-sm-4 .col-sm-4
%h3 Another title. %h3 Another title.
= Faker::Hacker.say_something_smart = Faker::Hacker.say_something_smart
= render "shared/links"

View File

@ -4,6 +4,7 @@
= render 'layouts/messages' = render 'layouts/messages'
%p Find me in app/views/static/index.html.haml %p Find me in app/views/static/index.html.haml
= render "shared/links"
- else - else
.jumbotron .jumbotron
.container .container
@ -15,4 +16,5 @@
Register now Register now
%small %small
Already a member? Already a member?
= link_to 'Sign in', new_user_session_path = link_to 'Sign in', new_user_session_path
= render "shared/links"

View File

@ -24,4 +24,6 @@
Unsatisfied? Unsatisfied?
=button_to "Delete my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete, class: "btn btn-danger btn-xs" =button_to "Delete my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete, class: "btn btn-danger btn-xs"
= link_to "Back", :back = link_to "Back", :back
.visible-xs= render "shared/links"

View File

@ -3,4 +3,6 @@
.panel-body .panel-body
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
= nav_entry "Account", edit_user_registration_path = nav_entry "Account", edit_user_registration_path
= nav_entry "Profile", edit_user_profile_path = nav_entry "Profile", edit_user_profile_path
.hidden-xs= render "shared/links"