Permalink
Browse files

fixing up product show page

  • Loading branch information...
1 parent d7ab3ee commit a240fbbccd62880e504a3abb70f08232abf42241 cmar committed May 2, 2012
@@ -12,3 +12,5 @@
*= require_self
*= require_tree .
*/
+
+nav #main-nav-bar li a:hover { color: white !imporant; }
@@ -263,7 +263,22 @@ ul#products li a:hover span {
text-shadow: 0px 1px 0px #ffffff;
filter: dropshadow(color=white, offx=0, offy=1); }
-#product-description .color-dan {
+#product-description .daenerys-fire-breath {
+ color: #c8271f; }
+
+#product-description .pyke-pilsner {
+ color: #c8271f; }
+
+#product-description .tyrions-short-stout {
+ color: #c8271f; }
+
+#product-description .stark-winter-lager {
+ color: #c8271f; }
+
+#product-description .gregor-cleganes-finest {
+ color: #c8271f; }
+
+#product-description .westeros-sampler {
color: #c8271f; }
.order-info {
@@ -0,0 +1,57 @@
+<div data-hook="product_show" itemscope itemtype="http://schema.org/Product">
+ <% @body_id = 'product-details' %>
+ <div class="columns six alpha" data-hook="product_left_part">
+ <div class="row" data-hook="product_left_part_wrap">
+
+ <div id="product-images" data-hook="product_images">
+ <div id="main-image" data-hook>
+ <%= render :partial => 'image' %>
+ </div>
+ <div id="thumbnails" data-hook>
+ <%= render :partial => 'thumbnails', :locals => { :product => @product } %>
+ </div>
+ </div>
+
+ <div data-hook="product_properties">
+ <%= render :partial => 'properties' %>
+ </div>
+
+ </div>
+ </div>
+
+ <div class="columns ten omega" data-hook="product_right_part">
+ <div class="row frosted" data-hook="product_right_part_wrap">
+
+ <div id="product-description" data-hook="product_description">
+
+ <h1 class="product-title <%= @product.permalink %>" itemprop="name"><%= accurate_title %></h1>
+
+ <h2 class="product-sub-title" itemprop="name">
+ <%= product_description(@product) rescue t(:product_has_no_description) %>
+ </h2>
+ <div itemprop="description" data-hook="description">
+ <%= product_description(@product) rescue t(:product_has_no_description) %>
+ </div>
+
+ <div id="cart-form" data-hook="cart_form">
+ <%= render :partial => 'cart_form' %>
+ </div>
+
+ </div>
+
+ </div>
+ </div>
+
+</div>
+
+<div class="policies clearfix">
+ <div class="policy icon-payment">
+ <h4>PAYMENT</h4>
+ <p>We ship to all corners of the realm. Due to the current political climate we can only offer a few select beers from around the realm. Your order is insured against hijacking, but we cannot foresee the course of the war, so delays may occur. </p>
+ </div>
+
+ <div class="policy icon-shipping">
+ <h4>SHIPPING INFORMATION</h4>
+ <p>We ship to all corners of the realm. Due to the current political climate we can only offer a few select beers from around the realm. Your order is insured against hijacking, but we cannot foresee the course of the war, so delays may occur. </p>
+ </div>
+</div>

0 comments on commit a240fbb

Please sign in to comment.