scinote-web/app/views/layouts/fluid.html.erb

26 lines
898 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% content_for :content do %>
<div class="container-fluid" id="wrapper">
<div id="sidebar-wrapper" class="sidebar-container <%= yield :sidebar_wrapper_class %>" data-sidebar-url="<%= yield :sidebar_url %>">
<div class="sidebar-header">
<div class="sidebar-title">
<%= yield :sidebar_title %>
</div>
<i class="fas fa-times close-sidebar"></i>
</div>
<div class="fas fa-angle-double-right show-sidebar"></div>
<div class="sidebar-body">
<%= yield :sidebar %>
</div>
<div class="sidebar-footer">
<%= yield :sidebar_footer %>
</div>
2016-02-12 23:52:43 +08:00
</div>
<%= yield :secondary_navigation %>
<div class="container-fluid <%= yield :container_class %>" id="fluid-content">
<%= yield %>
</div>
</div>
<% end %>
<%= render template: 'layouts/application' %>