Sha256: 03f64860d0c9b89dd43d292cbfcc2991adabe6483966357c36c1044b56aaa620

Contents?: true

Size: 954 Bytes

Versions: 5

Compression:

Stored size: 954 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" %>
  <%= javascript_include_tag "vendor/modernizr" %>
  <%= 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

5 entries across 5 versions & 1 rubygems

Version Path
rails_db-0.6 app/views/layouts/rails_db/application.html.erb
rails_db-0.5.1 app/views/layouts/rails_db/application.html.erb
rails_db-0.5 app/views/layouts/rails_db/application.html.erb
rails_db-0.4 app/views/layouts/rails_db/application.html.erb
rails_db-0.3 app/views/layouts/rails_db/application.html.erb