Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixing up product show page

  • Loading branch information...
commit a240fbbccd62880e504a3abb70f08232abf42241 1 parent d7ab3ee
Chris Mar authored May 02, 2012
2  app/assets/stylesheets/store/all.css
@@ -12,3 +12,5 @@
12 12
  *= require_self
13 13
  *= require_tree .
14 14
 */
  15
+
  16
+nav #main-nav-bar li a:hover { color: white !imporant; }
17  app/assets/stylesheets/store/westeros.css
@@ -263,7 +263,22 @@ ul#products li a:hover span {
263 263
   text-shadow: 0px 1px 0px #ffffff;
264 264
   filter: dropshadow(color=white, offx=0, offy=1); }
265 265
 
266  
-#product-description .color-dan {
  266
+#product-description .daenerys-fire-breath {
  267
+  color: #c8271f; }
  268
+
  269
+#product-description .pyke-pilsner {
  270
+  color: #c8271f; }
  271
+
  272
+#product-description .tyrions-short-stout {
  273
+  color: #c8271f; }
  274
+
  275
+#product-description .stark-winter-lager {
  276
+  color: #c8271f; }
  277
+
  278
+#product-description .gregor-cleganes-finest {
  279
+  color: #c8271f; }
  280
+
  281
+#product-description .westeros-sampler {
267 282
   color: #c8271f; }
268 283
 
269 284
 .order-info {
57  app/views/spree/products/show.html.erb
... ...
@@ -0,0 +1,57 @@
  1
+<div data-hook="product_show" itemscope itemtype="http://schema.org/Product">
  2
+  <% @body_id = 'product-details' %>
  3
+  <div class="columns six alpha" data-hook="product_left_part">
  4
+    <div class="row" data-hook="product_left_part_wrap">
  5
+
  6
+      <div id="product-images" data-hook="product_images">
  7
+        <div id="main-image" data-hook>
  8
+          <%= render :partial => 'image' %>
  9
+        </div>
  10
+        <div id="thumbnails" data-hook>
  11
+          <%= render :partial => 'thumbnails', :locals => { :product => @product } %>
  12
+        </div>
  13
+      </div>
  14
+
  15
+      <div data-hook="product_properties">
  16
+        <%= render :partial => 'properties' %>
  17
+      </div>
  18
+
  19
+    </div>
  20
+  </div>
  21
+
  22
+  <div class="columns ten omega" data-hook="product_right_part">
  23
+    <div class="row frosted" data-hook="product_right_part_wrap">
  24
+
  25
+      <div id="product-description" data-hook="product_description">
  26
+
  27
+        <h1 class="product-title <%= @product.permalink %>" itemprop="name"><%= accurate_title %></h1>
  28
+
  29
+        <h2 class="product-sub-title" itemprop="name">
  30
+          <%= product_description(@product) rescue t(:product_has_no_description) %>
  31
+        </h2>
  32
+        <div itemprop="description" data-hook="description">
  33
+          <%= product_description(@product) rescue t(:product_has_no_description) %>
  34
+        </div>
  35
+
  36
+        <div id="cart-form" data-hook="cart_form">
  37
+          <%= render :partial => 'cart_form' %>
  38
+        </div>
  39
+
  40
+      </div>
  41
+
  42
+    </div>
  43
+  </div>
  44
+
  45
+</div>
  46
+
  47
+<div class="policies clearfix">
  48
+  <div class="policy icon-payment">
  49
+    <h4>PAYMENT</h4>
  50
+    <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>
  51
+  </div>
  52
+
  53
+  <div class="policy icon-shipping">
  54
+    <h4>SHIPPING INFORMATION</h4>
  55
+    <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>
  56
+  </div>
  57
+</div>

0 notes on commit a240fbb

Please sign in to comment.
Something went wrong with that request. Please try again.