Fogbugz #40: Switch to 1140 grid layout.
This commit is contained in:
parent
b7ce756f58
commit
446573ab8a
1 changed files with 43 additions and 7 deletions
|
|
@ -1,18 +1,54 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>ContactORama</title>
|
||||
<%= stylesheet_link_tag :all %>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>Contact-o-Rama - <%= yield(:title) %></title>
|
||||
<%= stylesheet_link_tag "reset.css", :media => "screen, projection" %>
|
||||
<%= stylesheet_link_tag "1140" %>
|
||||
<!--[if lte IE 9]>
|
||||
<%= stylesheet_link_tag "ie.css" %>
|
||||
<![endif]-->
|
||||
<%= stylesheet_link_tag "layout" %>
|
||||
<%= javascript_include_tag :defaults %>
|
||||
<%= csrf_meta_tag %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%# Flash messages %>
|
||||
<p class="notice"><%= notice %></p>
|
||||
<p class="alert"><%= alert %></p>
|
||||
<body>
|
||||
<div class="container">
|
||||
<%# examples: flash[:error] (:notice, ...), needs: respective css 'id' elements %>
|
||||
<% flash.each do | key, msg | %>
|
||||
<%= content_tag :div, msg, :id => key %>
|
||||
<% end %>
|
||||
|
||||
<%# The header. %>
|
||||
<div class="row">
|
||||
<div class="sevencol header_red"><span class="logo_white">Contact</span><span class="logo_black">-o-Rama</span> - we care about your contacts!</div>
|
||||
<div class="fivecol header_black">
|
||||
<span id="username">
|
||||
<% if user_signed_in? %>
|
||||
<%=h current_user.email %>
|
||||
|
|
||||
<%= link_to 'devise.actions.logout', destroy_user_session_path %>
|
||||
<% else %>
|
||||
<%= link_to 'devise.actions.signup', new_user_registration_path %>
|
||||
|
|
||||
<%= link_to 'devise.actions.signin', new_user_session_path %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div> <%# end header_black %>
|
||||
</div> <%# row %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<%# Footer %>
|
||||
<div class="row">
|
||||
<div class="twelvecol" id="footer">
|
||||
<span class="copyright">© 2011 <a href="http://tailorama.com/">Tailorama</a></span>
|
||||
·
|
||||
<span class="imprint"><a href="http://tailorama.de/impressum/">imprint</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div> <%# end container %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue