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

19 lines
643 B
Plaintext
Raw Normal View History

2015-05-10 10:48:47 -07:00
- provide(:title, "#{APP_CONFIG['site_name']}")
= render 'static/mobile_nav'
.container.j2-page
2020-04-19 14:12:23 -07:00
.row
.col-md-3.col-sm-4
= render 'shared/sidebar'
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
= render 'layouts/messages'
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
Load more
.visible-xs= render 'shared/links'