Skip to content

Instantly share code, notes, and snippets.

@ethangunderson
Created December 22, 2009 05:16
Show Gist options
  • Save ethangunderson/261520 to your computer and use it in GitHub Desktop.
Save ethangunderson/261520 to your computer and use it in GitHub Desktop.
<!-- This comment keeps IE6/7 in the reliable quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>KEHE :: EMPLOYEES<% if @title %>: <%= @page_title %><% end %></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="en-us" />
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag :defaults %>
<%= yield :head %>
</head>
<body>
<%= javascript_include_tag "wz_tooltip.js" %>
<div id="container">
<div id="banner">
<!-- <div id="search_box">
<script src="/js/search_box.js" type="text/javascript"></script>
</div> --><!-- end of search box -->
<div id="notice"><%= flash[:notice] %></div>
<div id="error"><%= flash[:error] %></div>
<div id="top_nav">
<ul id="top_menu">
<li>
<%= link_to "HOME", "/" %>
</li>
<% if logged_in? %>
<li>
<%= link_to "Log out #{current_user}", admin_session_path, :method => :delete %>
</li>
<li>
<%= link_to "change password", { :controller => "users", :id => current_user.id, :action => "pwrdreset" } %>
</li>
<% end %>
</ul>
</div>
</div><!--end of banner-->
<%= yield :layout %>
<hr />
<div id="footer">
<%= javascript_include_tag "footer.js" %>
<!-- <p>&copy; 2007 KEHE FOOD DISTRIBUTORS&nbsp;&nbsp;|&nbsp;&nbsp;<a href='/meet_kehe/contact.html'>CONTACT</a></p>
Remove the unneccesary javascript call 2 lines above (and footer.js) and just enter the html directly above-->
</div><!--end of footer-->
</div><!--end of container-->
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment