Sha256: 6ced577b43e3cddca25726bca7955fbb7a49a6fd67a8108d643e996f70d8bbc0

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

<!doctype html>

<html lang="<%= I18n.locale %>">
<head>
  <meta charset="utf-8">

  <title><%= @title ? @title : 'Cavy' %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

  <%= stylesheet_link_tag 'cavy/application', media: 'all' %>
  <%= javascript_include_tag 'cavy/application' %>
  <script src="/assets/cavy/ckeditor/ckeditor.js"></script>
  <%= csrf_meta_tags %>
</head>
<body id="site">

<header>
  <%= render 'layouts/cavy/admin_header' %>
</header>

<main id="content">
  <div class="expanded row" id="contentRow">
    <div class="large-2 columns" id="sidebar">
      <%= render 'layouts/cavy/admin_sidebar' %>
    </div>
    <div class="large-10 columns">
      <% flash.each do |key, value| %>
          <div class="callout <%= key %>" style="margin-top: 1em;" data-closable>
            <%= value %>

            <button class="close-button" aria-label="Dismiss alert" type="button" data-close>
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
      <% end %>
      <%= yield %>
    </div>
  </div>
</main>

<footer>
  &copy; Ruby Rainbows <%= Time.now.year %>
</footer>

</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cavy-0.1.0.beta2 app/views/layouts/cavy/admin_layout.html.erb
cavy-0.1.0.beta1 app/views/layouts/cavy/admin_layout.html.erb