mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
25 lines
898 B
Text
25 lines
898 B
Text
<% 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>
|
|
</div>
|
|
<%= yield :secondary_navigation %>
|
|
<div class="container-fluid <%= yield :container_class %>" id="fluid-content">
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
<%= render template: 'layouts/application' %>
|