Sha256: e0068b66a8ed2e0f2607578b563cbeb744bbdcade016a8b14c1fe73ea8784b15

Contents?: true

Size: 1.36 KB

Versions: 4

Compression:

Stored size: 1.36 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" xml:lang="en" lang="en">
  <head>
    <title><%= [@title, 'Puffer'].compact.join(' - ') %></title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <%= csrf_meta_tag %>
    <%= stylesheet_link_tag 'terbium_reset' %>
    <%= stylesheet_link_tag 'terbium' %>
    <%= yield :stylesheet %>
    <%= javascript_include_tag 'prototype', 'effects', 'dragdrop', 'controls' %>
    <%= javascript_include_tag 'terbium' %>
    <%= javascript_include_tag 'terbium_popup' %>
    <%= yield :javascript %>
  </head>
  <body>
    <div class="header">
      <div class="logo"><a href="/admin">Puffer</a></div>
      <ul class="navigation">
        <%= puffer_navigation do |title, path| %>
          <li<%= raw(current_path.include?(path) ? ' class="selected"' : '') %>><%= link_to title, path %></li>
        <% end %>
      </ul>
      <div class="logout">
      </div>
    </div>
    <div class="additional_navigation" id="additional_navigation">
      <%= yield :additional_navigation %>
    </div>
    <div class="body">
      <div class="content">
        <%= yield %>
      </div>
    </div>
    <% if flash[:notice] %>
      <div class="notice" id="notice"><%= flash[:notice] %></div>
    <% end %>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puffer-0.0.5 app/views/layouts/puffer.html.erb
puffer-0.0.4 app/views/layouts/puffer.html.erb
puffer-0.0.3 app/views/layouts/puffer.html.erb
puffer-0.0.2 app/views/layouts/puffer.html.erb