Sha256: 1e739c56b9ca2d91bd5d80270483ab2a84d950e15ab3808d613c24851c92f013

Contents?: true

Size: 755 Bytes

Versions: 6

Compression:

Stored size: 755 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
<title>Caboose</title>
<%= yield :css %>
<%= csrf_meta_tags %>
</head>
<body>
<div id='wrapper'>
  <div id='header'>
    <div id='top_nav'>
      <% if (@user.nil? || @user.id == Caboose::User::LOGGED_OUT_USER_ID) %>
        <%= link_to "Login", "/login?return_url=#{request.fullpath}", :id => 'caboose_login' %>
      <% else %>
        <%= link_to "Control Panel", '#', :id => 'caboose_conductor' %>
      <% end %>
    </div>
  </div>
  <div id='content_wrapper'>
    <div id='content'>

<% if (yield) %>
<%= yield %>
<% elsif (!@page.nil?) %>
<h1><%= @page.title %></h1>
<%= @page.content %>  
<% end %>

    </div>    
  </div>
</div>
<%= render :partial => 'layouts/caboose/station' %>
<%= yield :js %>
</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
caboose-cms-0.1.78 lib/sample_files/layout_default.html.erb
caboose-cms-0.1.35 lib/sample_files/layout_default.html.erb
caboose-cms-0.1.34 lib/sample_files/layout_default.html.erb
caboose-cms-0.1.7 lib/sample_files/layout_default.html.erb
caboose-cms-0.1.6 lib/sample_files/layout_default.html.erb
caboose-cms-0.1.5 lib/sample_files/layout_default.html.erb