2016-02-12 23:52:43 +08:00
|
|
|
<% content_for :content do %>
|
|
|
|
<div class="container-fluid" id="wrapper">
|
2020-12-08 23:07:26 +08:00
|
|
|
<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 %>
|
2018-06-01 19:18:49 +08:00
|
|
|
</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' %>
|