81 lines
2.6 KiB
Plaintext
81 lines
2.6 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) : "Management" %></title>
|
|
<%= stylesheet_link_tag "application", media: "all" %>
|
|
<%= stylesheet_link_tag "print", media: "print" %>
|
|
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
|
<%= content_for :head %>
|
|
<%= csrf_meta_tags %>
|
|
<%= favicon_link_tag "favicon.ico" %>
|
|
</head>
|
|
|
|
<body class="admin">
|
|
<header>
|
|
<section class="top-links">
|
|
<div class="row">
|
|
<%= render 'shared/locale_switcher' %>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="row">
|
|
<div class="top-bar">
|
|
|
|
<%= link_to Setting['org_name'], management_root_path, class: "logo show-for-small-only" %>
|
|
|
|
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
|
<span class="menu-icon dark" data-toggle></span>
|
|
<%= t("application.menu")%>
|
|
</span>
|
|
|
|
<div id="responsive-menu">
|
|
<div class="top-bar-title">
|
|
<%= link_to management_root_path, class: "hide-for-small-only" do %>
|
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
|
<%= Setting['org_name'] %>
|
|
| <%= t("management.dashboard.index.title") %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="row expanded">
|
|
<main>
|
|
<div class="small-12 medium-3 column">
|
|
<%= render "/management/menu" %>
|
|
</div>
|
|
|
|
<%= render "management/account_info" %>
|
|
|
|
<div class="admin-content small-12 medium-9 column">
|
|
<% 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">×</span>
|
|
</button>
|
|
<%= notice %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% if alert %>
|
|
<div data-alert class="callout alert" data-closable>
|
|
<button class="close-button" aria-label="<%= t("application.close") %>" type="button" data-close>
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
<%= alert %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|