Sha256: 8e9f050b5dcc50954829d8240a31cbb5aa84c8159dcebd5d08c10ffc5d5572bc

Contents?: true

Size: 903 Bytes

Versions: 4

Compression:

Stored size: 903 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= [yield(:title), 'Rails DB'].reject(&:blank?).join(' - ') %></title>
  <%= stylesheet_link_tag    "rails_db/application", media: "all" %>
  <%= javascript_include_tag "rails_db/application" %>
  <%= csrf_meta_tags %>
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
  <%= display_flash_messages %>
  <% if RailsDb.enabled %>
    <%= render 'rails_db/shared/header' %>
    <div class="row">
      <div id='main_content' class="<%= main_content_classes %>">
        <%= yield %>
      </div>
      <div id='sidebar' class="<%= sidebar_classes %>">
        <%= render 'rails_db/shared/sidebar' %>
      </div>
    </div>
    <footer class="row">
      <%= render 'rails_db/shared/footer' %>
    </footer>
  <% else %>
    <p>RailsDB is disabled. Please enable it in config/initializers/rails_db.rb</p>
  <% end %>
</body>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_db-0.8 app/views/layouts/rails_db/application.html.erb
rails_db-0.7.2 app/views/layouts/rails_db/application.html.erb
rails_db-0.7.1 app/views/layouts/rails_db/application.html.erb
rails_db-0.7 app/views/layouts/rails_db/application.html.erb