Adjustments to support Bootstrap 3
This commit is contained in:
parent
02a32b92e7
commit
b732c5a24c
|
@ -1,33 +1,30 @@
|
||||||
<% wrap_layout :layout do %>
|
<% wrap_layout :layout do %>
|
||||||
<div class="docs-wrapper">
|
<div class="docs-wrapper">
|
||||||
<div class="sidebar dark-background">
|
<div class="row row-lg-height">
|
||||||
<%= yield_content :sidebar %>
|
<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>
|
<% if current_page.data.next_url %>
|
||||||
</div>
|
<div class="pagination">
|
||||||
|
<a class="previous-section" href="<%= current_page.data.prev_url %>"></a>
|
||||||
<div class="docs-body">
|
<% if current_page.data.next_url == "" %>
|
||||||
<div class="docs-content">
|
<h4><span class="text-green uppercase">End</span></h4>
|
||||||
<%= yield %>
|
<% else %>
|
||||||
</div>
|
<a class="next-section" href="<%= current_page.data.next_url %>">
|
||||||
|
<h4>
|
||||||
<% if current_page.data.next_url %>
|
<span class="text-green uppercase">next</span>
|
||||||
<div class="pagination">
|
<%= current_page.data.next_title %>
|
||||||
<a class="previous-section" href="<%= current_page.data.prev_url %>"></a>
|
</h4>
|
||||||
<% if current_page.data.next_url == "" %>
|
</a>
|
||||||
<h4><span class="text-green uppercase">End</span></h4>
|
<% end %>
|
||||||
<% else %>
|
</div>
|
||||||
<a class="next-section" href="<%= current_page.data.next_url %>">
|
<% end %>
|
||||||
<h4>
|
</div>
|
||||||
<span class="text-green uppercase">next</span>
|
</div>
|
||||||
<%= current_page.data.next_title %>
|
</div>
|
||||||
</h4>
|
|
||||||
</a>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<div class="docs-background"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue