Decoupled carts and orders
[depot.git] / app / views / layouts / store.html.erb
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6 <title>Neil's Whimsical Online Store</title>
7 <%= stylesheet_link_tag "depot" , :media => "all" %>
8 <%= javascript_include_tag :defaults %>
9 </head>
10 <body id="store">
11 <div id="banner">
12 <%= image_tag("logo.png" ) %>
13 <%= @page_title || "Neil's Whimisical Store" %>
14 </div>
15 <div id="columns">
16 <div id="side">
17 <% hidden_div_if(@cart.items.empty?, :id => "cart") do %>
18 <%= render(:partial => "cart" , :object => @cart) %>
19 <% end %>
20 <a href="/">Home</a><br />
21 <a href="http://www..../faq">Questions</a><br />
22 <a href="http://www..../news">News</a><br />
23 <a href="http://www..../contact">Contact</a><br />
24 </div>
25 <div id="main">
26 <% if flash[:notice] -%>
27 <div id="notice"><%= flash[:notice] %></div>
28 <% end -%>
29 <div id="main_panel">
30 <%= yield :layout %>
31 </div>
32 </div>
33 </div>
34 </body>
35 </html>