Adjustments to support Bootstrap 3

This commit is contained in:
Seth Vargo 2014-10-20 13:55:35 -04:00
parent 02a32b92e7
commit b732c5a24c
1 changed files with 27 additions and 30 deletions

View File

@ -1,33 +1,30 @@
<% wrap_layout :layout do %>
<div class="docs-wrapper">
<div class="sidebar dark-background">
<%= yield_content :sidebar %>
<div class="docs-wrapper">
<div class="row row-lg-height">
<div class="sidebar col-sm-3 col-md-3 col-lg-height col-md-height col-sm-height">
<%= yield_content :sidebar %>
</div>
<div class="docs-body col-sm-9 col-md-9 col-lg-height col-md-height col-sm-height">
<div class="docs-content">
<%= yield %>
</div>
<div class="sidebar-background"></div>
</div>
<div class="docs-body">
<div class="docs-content">
<%= yield %>
</div>
<% if current_page.data.next_url %>
<div class="pagination">
<a class="previous-section" href="<%= current_page.data.prev_url %>"></a>
<% if current_page.data.next_url == "" %>
<h4><span class="text-green uppercase">End</span></h4>
<% else %>
<a class="next-section" href="<%= current_page.data.next_url %>">
<h4>
<span class="text-green uppercase">next</span>
<%= current_page.data.next_title %>
</h4>
</a>
<% end %>
</div>
<% end %>
<div class="docs-background"></div>
</div>
</div>
<% if current_page.data.next_url %>
<div class="pagination">
<a class="previous-section" href="<%= current_page.data.prev_url %>"></a>
<% if current_page.data.next_url == "" %>
<h4><span class="text-green uppercase">End</span></h4>
<% else %>
<a class="next-section" href="<%= current_page.data.next_url %>">
<h4>
<span class="text-green uppercase">next</span>
<%= current_page.data.next_title %>
</h4>
</a>
<% end %>
</div>
<% end %>
</div>
</div>
</div>
<% end %>