Sha256: c8d4ccb937d0674cb502e8efa9901c8a196aac6e92af98f60d5dbe236087a541

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 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" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>MyWebSite.com</title>
  <%= stylesheet_link_tag 'web_app_theme', "themes/djime-cerulean/style" %>
</head>
<body>
  <div id="container">
    <div id="header">
      <h1><a href="/">MyWebSite.com</a></h1>
      <div id="user-navigation">
        <ul>
          <!--
          <li><a href="#">Profile</a></li>
          <li><a href="#">Settings</a></li>
          -->
          <% if current_user -%>
            <li><%= link_to('Profile', user_path(current_user)) %></li>
            <li><%= link_to('Logout', logout_path, :method => :delete) %></li>
          <% else -%>
            <li><%= link_to('Login', login_path) %> / <%= link_to('Signup', new_user_path) %></li>
          <% end -%>
        </ul>
        <div class="clear"></div>
      </div>      
      <div id="main-navigation">
        <ul>
          <li class=""><a href="#">#####</a></li>
        </ul>
        <div class="clear"></div>
      </div>
    </div>    
    <div id="wrapper">
      <div class="flash">
        <% flash.each do |type, message| -%>
          <div class="message <%= type %>">
            <p><%= message %></p>
          </div>
        <% end -%>
      </div>
      <div id="main">
        <%= yield %>
        <div id="footer">
          <div class="block">
            <p>Copyright &copy; 2009 MyWebSite.com.</p>
          </div>      
        </div>
      </div>
      <div id="sidebar">
        <%= yield :sidebar %>
      </div>
      <div class="clear"></div>      
    </div>    
  </div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
base_rails_app-0.0.1 lib/app/views/layouts/application.html.erb