Retrospring/app/views/static/index.html.haml

24 lines
870 B
Plaintext

- if user_signed_in?
= render 'static/mobile_nav'
.container.j2-page
.col-md-3.col-sm-3
= render 'shared/sidebar'
.col-md-9.col-xs-12.col-sm-9.j2-col-reset
= render 'layouts/messages'
.alert.alert-danger.alert-dismissible{role: "alert"}
%button.close{type: "button", "data-dismiss" => "alert"}
%span{"aria-hidden" => "true"} ×
Retrospring will shut down on 31st March 2015!
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
#pagination= will_paginate @timeline, renderer: BootstrapPagination::Rails, page_links: false
- if @timeline.next_page
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @timeline.current_page }}
Load more
.visible-xs= render 'shared/links'
- else
= render 'static/front'