Sha256: 25a9cbcbc4e767522ec09249600e0f1c568db200aad2788fb0c5b66807d3f8e3

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= [@title, 'Puffer'].compact.join(' - ') %></title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <%= csrf_meta_tag %>
    <%= stylesheet_link_tag '/puffer/stylesheets/reset' %>
    <%= stylesheet_link_tag '/puffer/stylesheets/puffer' %>
    <%= yield :stylesheet %>

    <%= javascript_include_tag '/puffer/javascripts/right-src' %>
    <%= javascript_include_tag '/puffer/javascripts/right-calendar-src' %>
    <%= javascript_include_tag '/puffer/javascripts/right-autocompleter-src' %>
    <%= javascript_include_tag '/puffer/javascripts/rails-src' %>
    <%= javascript_include_tag '/puffer/javascripts/application' %>
    <%= yield :javascript %>
  </head>
  <body>
    <div class="body">
      <div class="header">
        <div class="logo">
          <%= link_to 'Puffer', admin_root_path %>
        </div>
        <ul class="navigation">
          <% puffer_navigation do |title, path, current| %>
            <li<%= raw(current ? ' class="selected"' : '') %>><%= link_to title, path %></li>
          <% end %>
        </ul>
        <div class="logout">
        </div>
      </div>
      <div class="columns">
        <div class="column sidebar">
          <div class="padder">
            <ul class="navigation">
              <% sidebar_puffer_navigation do |title, path, current| %>
                <li<%= raw(current ? ' class="selected"' : '') %>>
                  <%= link_to title, path %>
                  <% if current && (additional = render_cell('puffer/base', 'additional')).present? %>
                    <div class="additional">
                      <%= additional %>
                    </div>
                  <% end %>
                </li>
              <% end %>
            </ul>
            <%= yield :sidebar %>
          </div>
        </div>
        <div class="column">
          <div class="content">
            <%= yield %>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puffer-0.0.11 app/views/layouts/puffer.html.erb
puffer-0.0.10 app/views/layouts/puffer.html.erb
puffer-0.0.9 app/views/layouts/puffer.html.erb
puffer-0.0.8 app/views/layouts/puffer.html.erb