Files
nairobi/app/views/layouts/devise.html.erb
Javi Martín 44e3a393a0 Move navigation and footer partials to components
This way it'll be easier to decide when they should be rendered.

In order to be consistent, we're using the `Layout` module for both
components; previously, the navigation partial was in the `shared`
folder while the footer partial was in the `layout` folder, which IMHO
didn't make much sense.
2023-01-16 14:22:23 +01:00

39 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html <%= common_html_attributes %>>
<head>
<%= render "layouts/common_head", default_title: setting["org_name"] %>
<%= render "layouts/meta_tags" %>
<%= raw setting["html.per_page_code_head"] %>
</head>
<body class="auth-page">
<%= raw setting["html.per_page_code_body"] %>
<div class="wrapper">
<div class="auth-image small-12 medium-3 column"
style="background-image: url(<%= asset_url(image_path_for("auth_bg.jpg")) %>)">
<h1 class="logo margin">
<%= link_to root_path do %>
<%= image_tag(image_path_for("logo_header.png"), class: "float-left", alt: setting["org_name"]) %>
<% end %>
</h1>
</div>
<div class="small-12 medium-9 column">
<div class="row">
<div class="small-12 medium-9 large-7 small-centered column">
<div class="auth-form margin">
<%= render "layouts/flash" %>
<%= yield %>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<%= render Layout::FooterComponent.new %>
</div>
</body>
</html>