mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
19 lines
722 B
Text
19 lines
722 B
Text
<% content_for :content do %>
|
|
<div class="container-fluid" id="wrapper">
|
|
<%= render partial: 'shared/flash_alerts',
|
|
locals: { flash: flash, notice: notice, alert: alert } %>
|
|
<div id="sidebar-wrapper" class="<%= yield :sidebar_wrapper_class %>">
|
|
<%= yield :sidebar %>
|
|
<div id="sidebar-arrow"
|
|
onclick="SideBarToggle.toggle()"
|
|
data-shown="">
|
|
<span class="fas fa-chevron-right"></span>
|
|
</div>
|
|
</div>
|
|
<%= yield :secondary_navigation %>
|
|
<div class="container-fluid <%= yield :container_class %>" id="fluid-content">
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
<%= render template: 'layouts/application' %>
|