houdini/app/views/layouts/application.html.erb
2020-06-15 10:26:57 -05:00

28 lines
824 B
Text
Executable file

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<!doctype html>
<html>
<head>
<%= render 'layouts/meta_tags' %>
<%= render 'layouts/stylesheets' %>
<%= yield :head %>
</head>
<body class="<%= current_user ? '' : 'not-signedIn '.html_safe %> <%= @panels_layout ? 'panelsLayout' : '' %>">
<% if flash[:error] %>
<div class='alert--error flash'>
<%= flash[:error] %>
</div>
<% elsif flash[:notice] && !flash[:notice].blank? %>
<div class='alert--success flash'>
<%= flash[:notice] %>
</div>
<% end %>
<%= render 'layouts/side_nav' %>
<%= yield %>
<%= render 'layouts/footer' %>
<%= render 'layouts/javascripts' %>
</body>
</html>