Sha256: 9c057ea750fc3989557277d708536a3f9185ab1724bfed6d9b9de68b4be26e57

Contents?: true

Size: 1.44 KB

Versions: 4

Compression:

Stored size: 1.44 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title><%= content_for?(:title) ? yield(:title) : manageable_page_title %></title>
  <%= stylesheet_link_tag "manageable/index.css", :media => "screen" %>
  <%= csrf_meta_tag %>
  <%= manageable_head %>
</head>

<body>
  <div id="container">
    <div id="header">
      <%= manageable_logo %>
      <%= manageable_navigation(:id => "user-navigation") { |nav| manageable_user_navigation(nav) } %>
      <%= manageable_navigation(:id => "main-navigation") { |nav| manageable_main_navigation(nav) } %>
    </div>
    <div id="wrapper" class="wat-cf">
      <div id="<%= manageable_sidebar.present? ? 'main' : 'full-main' %>">
        <div class="flash">
          <% [ :warning, :notice, :error ].each do |f| -%>
            <%= content_tag("div", "<p>#{flash[f]}</p>".html_safe, :class => "message #{f}") unless flash[f].nil? %>
          <% end %>
        </div>

        <%= yield %>

        <div id="footer">
          <%= manageable_footer %>
        </div>
      </div>
      <% if manageable_sidebar.present? %>
        <div id="sidebar">
          <%= manageable_sidebar %>
        </div>
      <% end %>
    </div>
  </div>

  <%= javascript_include_tag 'manageable/index.js' %>
  <%= manageable_javascripts %>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
manageable-0.1.4 app/views/layouts/manageable/application.html.erb
manageable-0.1.3 app/views/layouts/manageable/application.html.erb
manageable-0.1.2 app/views/layouts/manageable/application.html.erb
manageable-0.1.1 app/views/layouts/manageable/application.html.erb