Files
nairobi/app/views/layouts/devise.html.erb
Alberto Garcia Cabeza 3752f3a53b Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00

57 lines
2.0 KiB
Plaintext

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><%= content_for?(:title) ? yield(:title) : "Gobierno abierto" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<%= favicon_link_tag "favicon.ico" %>
</head>
<body class="auth-page">
<div class="wrapper margin-top">
<div class="row">
<div class="small-12 medium-8 large-5 column small-centered margin-top">
<h1>
<%= link_to root_path do %>
<%= image_tag('header_logo_madrid.png', class: 'show-for-medium-up float-left', size: '96x96', alt: t("layouts.header.logo")) %>
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
<% end %>
</h1>
</div>
</div>
<div class="row auth">
<div class="small-12 medium-8 large-5 column small-centered panel padding margin-bottom">
<% if notice %>
<div data-alert class="callout success" data-closable>
<button class="close-button" aria-label="<%= t("application.close") %>" type="button" data-close>
<span aria-hidden="true">&times;</span>
</button>
<%= notice %>
</div>
<% end %>
<% if alert %>
<div data-alert class="callout warning" data-closable>
<button class="close-button" aria-label="<%= t("application.close") %>" type="button" data-close>
<span aria-hidden="true">&times;</span>
</button>
<%= alert %>
</div>
<% end %>
<%= yield %>
</div>
</div>
<div class="push"></div>
</div>
<div class="footer">
<%= render 'layouts/footer' %>
</div>
</body>
</html>