Sha256: 9157a016f4374ed4ebacac5e3ecf4a22dbe6c17c3ab8faa861c8e69c0b53962d

Contents?: true

Size: 1.57 KB

Versions: 4

Compression:

Stored size: 1.57 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 %>
    <%= puffer_stylesheets %>
    <%= yield :stylesheets %>
    <%= puffer_javascripts %>
    <%= yield :javascripts %>
  </head>
  <body>
    <div class="body">
      <div class="header">
        <div class="logo">
          <%= link_to Puffer.logo, 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.15 app/views/layouts/puffer.html.erb
puffer-0.0.14 app/views/layouts/puffer.html.erb
puffer-0.0.13 app/views/layouts/puffer.html.erb
puffer-0.0.12 app/views/layouts/puffer.html.erb