|
|
|
@ -11,17 +11,17 @@ |
|
|
|
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> |
|
|
|
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> |
|
|
|
</head> |
|
|
|
</head> |
|
|
|
|
|
|
|
|
|
|
|
<body class="container-fluid h-100 w-100"> |
|
|
|
<body class="container-fluid h-100 w-100 p-0"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="<%= current_user.present? ? 'row flex-nowrap h-100 w-100 p-0' : 'row h-100 justify-content-center align-items-center' %>"> |
|
|
|
<div class="<%= current_user.present? ? 'row flex-nowrap h-100 w-100 p-0 ms-0' : 'row h-100 justify-content-center align-items-center' %>"> |
|
|
|
<% if current_user.present? %> |
|
|
|
<% if current_user.present? %> |
|
|
|
<div class="col-auto col-md-3 col-xl-2 px-sm-2 px-0 bg-secondary min-vh-100" style="padding: 0 !important;"> |
|
|
|
<div class="col-auto col-md-3 col-xl-2 px-sm-2 px-0 bg-secondary min-vh-100" style="padding: 0 !important;"> |
|
|
|
<%= render(SidenavComponent.new(current_user: current_user))%> |
|
|
|
<%= render(SidenavComponent.new(current_user: current_user))%> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<div class="<%= current_user.present? ? 'col py-3' : 'col-sm-3' %>"> |
|
|
|
<div class="<%= current_user.present? ? 'col py-3' : 'col-sm-3 login-body-box' %>"> |
|
|
|
<div > |
|
|
|
<div class="content-body"> |
|
|
|
<%= yield %> |
|
|
|
<%= yield %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|