Created
December 21, 2009 23:38
-
-
Save anathematic/261358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title><%= APP_CONFIG[:app_name] %></title> | |
<%= stylesheet_link_tag "formtastic.css" %> | |
<%= stylesheet_link_tag "application.css" %> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
<%= yield(:headers) %> | |
<%= javascript_include_tag "application.js" %> | |
</head> | |
<body> | |
<div id="header"> | |
<div id="top" align="right"> | |
<% tabs(:always_link => true) do |tab| %> | |
<%= tab.settings "Settings", assets_path %> | |
<%= tab.logout "Logout", logout_path %> | |
<% end %> | |
</div> | |
<div id="bottom"> | |
<% tabs(:always_link => true) do |tab| %> | |
<%= tab.dashboard "Dashboard", dashboard_path %> | |
<%= tab.bookings "Bookings", bookings_path %> | |
<%= tab.news "News", news_path %> | |
<%= tab.albums "Albums", albums_path %> | |
<%= tab.users "Users", users_path %> | |
<% end %> | |
</div> | |
</div> | |
<div id="sidebar"><%= yield(:sidebar) %></div> | |
<div id="body"> | |
<div id="wrapper"> | |
<% unless flash.blank? %> | |
<div id="flash"> | |
<% flash.each do |k, v| %> | |
<div class="flash_<%= k %>"> | |
<%= v %> | |
</div> | |
<% end %> | |
</div> | |
<% end %> | |
<%= yield %> | |
</div> | |
</div> | |
<div id="footer"> | |
<span>This is an <%= link_to "inner core designs", "http://icdesign.com.au", :target => "_blank" %> app</span> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment