Sha256: 6cf19fed173a68bb8c1c7f9f36d6cecf3cea842390742f4923a7351f13095c08

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 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, puffer_root_path %>
        </div>
        <ul class="namespaces">
          <% puffer_namespaces do |title, path, current| %>
            <li<%= raw(current ? ' class="selected"' : '') %>><%= link_to title, path %></li>
          <% end %>
        </ul>
        <ul class="navigation">
          <% puffer_navigation do |title, path, current| %>
            <li<%= raw(current ? ' class="selected"' : '') %>><%= link_to title, path %></li>
          <% end %>
        </ul>
        <div class="logout">
          <%= link_to t('puffer.logout'), puffer_session_url, :method => :delete %>
        </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.19 app/views/layouts/puffer.html.erb
puffer-0.0.18 app/views/layouts/puffer.html.erb
puffer-0.0.17 app/views/layouts/puffer.html.erb
puffer-0.0.16 app/views/layouts/puffer.html.erb