spree_odg_theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. data/LICENSE +26 -0
  2. data/README.md +31 -0
  3. data/app/assets/images/Thumbs.db +0 -0
  4. data/app/assets/images/add-to-cart.png +0 -0
  5. data/app/assets/images/admin/bg/active-tab.png +0 -0
  6. data/app/assets/images/admin/bg/admin_tab_back.png +0 -0
  7. data/app/assets/images/admin/bg/admin_tab_selected_back.png +0 -0
  8. data/app/assets/images/admin/bg/content-back-blue.png +0 -0
  9. data/app/assets/images/admin/bg/content-back-green.png +0 -0
  10. data/app/assets/images/admin/bg/content-back.png +0 -0
  11. data/app/assets/images/admin/bg/flash-error.png +0 -0
  12. data/app/assets/images/admin/bg/flash-notice.png +0 -0
  13. data/app/assets/images/admin/bg/green-stripes.gif +0 -0
  14. data/app/assets/images/admin/bg/green-stripes.png +0 -0
  15. data/app/assets/images/admin/bg/grid_header_back.png +0 -0
  16. data/app/assets/images/admin/bg/grid_header_back_green.png +0 -0
  17. data/app/assets/images/admin/bg/header-bg.png +0 -0
  18. data/app/assets/images/admin/bg/header.png +0 -0
  19. data/app/assets/images/admin/bg/header_bg.jpg +0 -0
  20. data/app/assets/images/admin/bg/menu-current.png +0 -0
  21. data/app/assets/images/admin/bg/red-stripes.gif +0 -0
  22. data/app/assets/images/admin/bg/red-stripes.png +0 -0
  23. data/app/assets/images/admin/bg/spree_50.png +0 -0
  24. data/app/assets/images/admin/bg/subnav-divider.png +0 -0
  25. data/app/assets/images/admin/bg/subnav.png +0 -0
  26. data/app/assets/images/admin/bg/tab-back.png +0 -0
  27. data/app/assets/images/admin/buttons/blue/left_01.png +0 -0
  28. data/app/assets/images/admin/buttons/blue/right_01.png +0 -0
  29. data/app/assets/images/admin/buttons/drag-handle-green.png +0 -0
  30. data/app/assets/images/admin/buttons/green/left_01.png +0 -0
  31. data/app/assets/images/admin/buttons/green/right_01.png +0 -0
  32. data/app/assets/images/admin/buttons/left_01.png +0 -0
  33. data/app/assets/images/admin/buttons/left_01_small.png +0 -0
  34. data/app/assets/images/admin/buttons/orange/left_03.png +0 -0
  35. data/app/assets/images/admin/buttons/orange/right_03.png +0 -0
  36. data/app/assets/images/admin/buttons/right_01.png +0 -0
  37. data/app/assets/images/admin/buttons/right_01_small.png +0 -0
  38. data/app/assets/images/admin/icons/16x16/1.png +0 -0
  39. data/app/assets/images/admin/icons/16x16/10.png +0 -0
  40. data/app/assets/images/admin/icons/16x16/2.png +0 -0
  41. data/app/assets/images/admin/icons/16x16/3.png +0 -0
  42. data/app/assets/images/admin/icons/16x16/4.png +0 -0
  43. data/app/assets/images/admin/icons/16x16/5.png +0 -0
  44. data/app/assets/images/admin/icons/16x16/6.png +0 -0
  45. data/app/assets/images/admin/icons/16x16/7.png +0 -0
  46. data/app/assets/images/admin/icons/16x16/8.png +0 -0
  47. data/app/assets/images/admin/icons/16x16/9.png +0 -0
  48. data/app/assets/images/admin/icons/32x32/1.png +0 -0
  49. data/app/assets/images/admin/icons/32x32/10.png +0 -0
  50. data/app/assets/images/admin/icons/32x32/11.png +0 -0
  51. data/app/assets/images/admin/icons/32x32/2.png +0 -0
  52. data/app/assets/images/admin/icons/32x32/3.png +0 -0
  53. data/app/assets/images/admin/icons/32x32/4.png +0 -0
  54. data/app/assets/images/admin/icons/32x32/5.png +0 -0
  55. data/app/assets/images/admin/icons/32x32/6.png +0 -0
  56. data/app/assets/images/admin/icons/32x32/7.png +0 -0
  57. data/app/assets/images/admin/icons/32x32/8.png +0 -0
  58. data/app/assets/images/admin/icons/32x32/9.png +0 -0
  59. data/app/assets/images/admin/icons/accept.png +0 -0
  60. data/app/assets/images/admin/icons/add.gif +0 -0
  61. data/app/assets/images/admin/icons/add.png +0 -0
  62. data/app/assets/images/admin/icons/arrow-down.gif +0 -0
  63. data/app/assets/images/admin/icons/cross.png +0 -0
  64. data/app/assets/images/admin/icons/delete.gif +0 -0
  65. data/app/assets/images/admin/icons/delete.png +0 -0
  66. data/app/assets/images/admin/icons/drag.gif +0 -0
  67. data/app/assets/images/admin/icons/edit.gif +0 -0
  68. data/app/assets/images/admin/icons/edit.png +0 -0
  69. data/app/assets/images/admin/icons/email.png +0 -0
  70. data/app/assets/images/admin/icons/error.png +0 -0
  71. data/app/assets/images/admin/icons/exclamation.png +0 -0
  72. data/app/assets/images/admin/icons/feed.png +0 -0
  73. data/app/assets/images/admin/icons/pdf.png +0 -0
  74. data/app/assets/images/admin/icons/reorder.gif +0 -0
  75. data/app/assets/images/admin/icons/search.gif +0 -0
  76. data/app/assets/images/admin/icons/send-email.png +0 -0
  77. data/app/assets/images/admin/icons/stop.png +0 -0
  78. data/app/assets/images/admin/icons/switch.png +0 -0
  79. data/app/assets/images/admin/icons/tick.png +0 -0
  80. data/app/assets/images/admin/icons/up.gif +0 -0
  81. data/app/assets/images/admin/icons/xls.png +0 -0
  82. data/app/assets/images/admin/payment_banner.png +0 -0
  83. data/app/assets/images/admin/progress.gif +0 -0
  84. data/app/assets/images/admin/tabs/off-left.png +0 -0
  85. data/app/assets/images/admin/tabs/off-right.png +0 -0
  86. data/app/assets/images/admin/tabs/on-left.png +0 -0
  87. data/app/assets/images/admin/tabs/on-right.png +0 -0
  88. data/app/assets/images/ajax_loader.gif +0 -0
  89. data/app/assets/images/amex_cid.gif +0 -0
  90. data/app/assets/images/arrow-down.png +0 -0
  91. data/app/assets/images/arrow-up.png +0 -0
  92. data/app/assets/images/arrow.gif +0 -0
  93. data/app/assets/images/bg-button-hover.png +0 -0
  94. data/app/assets/images/bg-button-pressed.png +0 -0
  95. data/app/assets/images/bg-button.gif +0 -0
  96. data/app/assets/images/bg-button.png +0 -0
  97. data/app/assets/images/blt-dot.png +0 -0
  98. data/app/assets/images/blt-globalnav.gif +0 -0
  99. data/app/assets/images/blt-square.gif +0 -0
  100. data/app/assets/images/blue/left_01.png +0 -0
  101. data/app/assets/images/blue/right_01.png +0 -0
  102. data/app/assets/images/body-back.png +0 -0
  103. data/app/assets/images/bottom_shine.png +0 -0
  104. data/app/assets/images/breadcrumb.gif +0 -0
  105. data/app/assets/images/button-dark-hover.png +0 -0
  106. data/app/assets/images/button-dark.png +0 -0
  107. data/app/assets/images/buttons/bg-button-hover.png +0 -0
  108. data/app/assets/images/buttons/bg-button-pressed.png +0 -0
  109. data/app/assets/images/buttons/bg-button.gif +0 -0
  110. data/app/assets/images/buttons/bg-button.png +0 -0
  111. data/app/assets/images/buttons/blue/left_01.png +0 -0
  112. data/app/assets/images/buttons/blue/right_01.png +0 -0
  113. data/app/assets/images/buttons/button-dark-hover.png +0 -0
  114. data/app/assets/images/buttons/button-dark.png +0 -0
  115. data/app/assets/images/buttons/drag-handle-green.png +0 -0
  116. data/app/assets/images/buttons/green/left_01.png +0 -0
  117. data/app/assets/images/buttons/green/right_01.png +0 -0
  118. data/app/assets/images/buttons/left_01.png +0 -0
  119. data/app/assets/images/buttons/left_01_small.png +0 -0
  120. data/app/assets/images/buttons/orange/left_03.png +0 -0
  121. data/app/assets/images/buttons/orange/right_03.png +0 -0
  122. data/app/assets/images/buttons/right_01.png +0 -0
  123. data/app/assets/images/buttons/right_01_small.png +0 -0
  124. data/app/assets/images/buttons/sxsw-ribbon-v1.png +0 -0
  125. data/app/assets/images/buttons/top-shine.png +0 -0
  126. data/app/assets/images/calendar_date_select/calendar.gif +0 -0
  127. data/app/assets/images/cart-empty.png +0 -0
  128. data/app/assets/images/cart-empty_x32.png +0 -0
  129. data/app/assets/images/cart-full.png +0 -0
  130. data/app/assets/images/cart-full_x32.png +0 -0
  131. data/app/assets/images/checkout.png +0 -0
  132. data/app/assets/images/close-btn.png +0 -0
  133. data/app/assets/images/close-btn2.png +0 -0
  134. data/app/assets/images/credit-card-logo.gif +0 -0
  135. data/app/assets/images/creditcard.gif +0 -0
  136. data/app/assets/images/creditcards/amex_cid.gif +0 -0
  137. data/app/assets/images/creditcards/creditcard.gif +0 -0
  138. data/app/assets/images/creditcards/discover_cid.gif +0 -0
  139. data/app/assets/images/creditcards/icons/american_express.png +0 -0
  140. data/app/assets/images/creditcards/icons/cirrus.png +0 -0
  141. data/app/assets/images/creditcards/icons/delta.png +0 -0
  142. data/app/assets/images/creditcards/icons/dinersclub.png +0 -0
  143. data/app/assets/images/creditcards/icons/directdebit.png +0 -0
  144. data/app/assets/images/creditcards/icons/discover.png +0 -0
  145. data/app/assets/images/creditcards/icons/egold.png +0 -0
  146. data/app/assets/images/creditcards/icons/maestro.png +0 -0
  147. data/app/assets/images/creditcards/icons/master.png +0 -0
  148. data/app/assets/images/creditcards/icons/paypal.png +0 -0
  149. data/app/assets/images/creditcards/icons/solo.png +0 -0
  150. data/app/assets/images/creditcards/icons/switch.png +0 -0
  151. data/app/assets/images/creditcards/icons/visa.png +0 -0
  152. data/app/assets/images/creditcards/icons/visaelectron.png +0 -0
  153. data/app/assets/images/creditcards/icons/westernunion.png +0 -0
  154. data/app/assets/images/creditcards/icons/wirecard.png +0 -0
  155. data/app/assets/images/creditcards/icons/worldpay.png +0 -0
  156. data/app/assets/images/creditcards/master_cid.jpg +0 -0
  157. data/app/assets/images/creditcards/visa_cid.gif +0 -0
  158. data/app/assets/images/datepicker/backstripes.gif +0 -0
  159. data/app/assets/images/datepicker/bg_header.jpg +0 -0
  160. data/app/assets/images/datepicker/bullet1.gif +0 -0
  161. data/app/assets/images/datepicker/bullet2.gif +0 -0
  162. data/app/assets/images/datepicker/cal.gif +0 -0
  163. data/app/assets/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  164. data/app/assets/images/delete-icon.png +0 -0
  165. data/app/assets/images/discover_cid.gif +0 -0
  166. data/app/assets/images/drag-handle-green.png +0 -0
  167. data/app/assets/images/favicon.ico +0 -0
  168. data/app/assets/images/gallery-thumb.jpg +0 -0
  169. data/app/assets/images/green/left_01.png +0 -0
  170. data/app/assets/images/green/right_01.png +0 -0
  171. data/app/assets/images/grid.png +0 -0
  172. data/app/assets/images/heading-bg.png +0 -0
  173. data/app/assets/images/icon-magnify.png +0 -0
  174. data/app/assets/images/icons/add-to-cart.png +0 -0
  175. data/app/assets/images/icons/checkout.png +0 -0
  176. data/app/assets/images/icons/delete.png +0 -0
  177. data/app/assets/images/icons/update.png +0 -0
  178. data/app/assets/images/img-bg-effect.png +0 -0
  179. data/app/assets/images/img-bg.png +0 -0
  180. data/app/assets/images/input-bg.png +0 -0
  181. data/app/assets/images/large-img.jpg +0 -0
  182. data/app/assets/images/left_01.png +0 -0
  183. data/app/assets/images/left_01_small.png +0 -0
  184. data/app/assets/images/logo-adidas.png +0 -0
  185. data/app/assets/images/logo-peter-ingland.png +0 -0
  186. data/app/assets/images/logo-puma.png +0 -0
  187. data/app/assets/images/logo.png +0 -0
  188. data/app/assets/images/master_cid.jpg +0 -0
  189. data/app/assets/images/menu-current.png +0 -0
  190. data/app/assets/images/menu-hover.png +0 -0
  191. data/app/assets/images/nav-border.gif +0 -0
  192. data/app/assets/images/noimage/mini.jpg +0 -0
  193. data/app/assets/images/noimage/mini.png +0 -0
  194. data/app/assets/images/noimage/product.jpg +0 -0
  195. data/app/assets/images/noimage/product.png +0 -0
  196. data/app/assets/images/noimage/small.jpg +0 -0
  197. data/app/assets/images/noimage/small.png +0 -0
  198. data/app/assets/images/openid-inputicon.gif +0 -0
  199. data/app/assets/images/orange/left_03.png +0 -0
  200. data/app/assets/images/orange/right_03.png +0 -0
  201. data/app/assets/images/pro-thumb-1.jpg +0 -0
  202. data/app/assets/images/pro-thumb-2.jpg +0 -0
  203. data/app/assets/images/pro-thumb-3.jpg +0 -0
  204. data/app/assets/images/pro-thumb-4.jpg +0 -0
  205. data/app/assets/images/pro-thumb-5.jpg +0 -0
  206. data/app/assets/images/pro-thumb-6.jpg +0 -0
  207. data/app/assets/images/pro-thumb-7.jpg +0 -0
  208. data/app/assets/images/pro-thumb-8.jpg +0 -0
  209. data/app/assets/images/progress.gif +0 -0
  210. data/app/assets/images/rails.png +0 -0
  211. data/app/assets/images/reorder.jpg +0 -0
  212. data/app/assets/images/right_01.png +0 -0
  213. data/app/assets/images/right_01_small.png +0 -0
  214. data/app/assets/images/sbtn-submit.png +0 -0
  215. data/app/assets/images/separator.png +0 -0
  216. data/app/assets/images/shadow-top.png +0 -0
  217. data/app/assets/images/shadow_top.png +0 -0
  218. data/app/assets/images/slider01.jpg +0 -0
  219. data/app/assets/images/spinner.gif +0 -0
  220. data/app/assets/images/spree.jpg +0 -0
  221. data/app/assets/images/spree/progress.gif +0 -0
  222. data/app/assets/images/spree/spinner.gif +0 -0
  223. data/app/assets/images/spree/spree.jpg +0 -0
  224. data/app/assets/images/step-progress/completed-completed.gif +0 -0
  225. data/app/assets/images/step-progress/completed-current.gif +0 -0
  226. data/app/assets/images/step-progress/completed-first.gif +0 -0
  227. data/app/assets/images/step-progress/current-first.gif +0 -0
  228. data/app/assets/images/step-progress/current-incomplete.gif +0 -0
  229. data/app/assets/images/step-progress/current-right.gif +0 -0
  230. data/app/assets/images/step-progress/incomplete-incomplete.gif +0 -0
  231. data/app/assets/images/step-progress/incomplete-right.gif +0 -0
  232. data/app/assets/images/steps/1.png +0 -0
  233. data/app/assets/images/steps/1_small.png +0 -0
  234. data/app/assets/images/steps/2.png +0 -0
  235. data/app/assets/images/steps/2_small.png +0 -0
  236. data/app/assets/images/steps/3.png +0 -0
  237. data/app/assets/images/steps/3_small.png +0 -0
  238. data/app/assets/images/steps/4.png +0 -0
  239. data/app/assets/images/steps/4_small.png +0 -0
  240. data/app/assets/images/steps/5.png +0 -0
  241. data/app/assets/images/steps/5_small.png +0 -0
  242. data/app/assets/images/steps/6.png +0 -0
  243. data/app/assets/images/steps/6_small.png +0 -0
  244. data/app/assets/images/store/auth-icons.png +0 -0
  245. data/app/assets/images/store/bg.jpg +0 -0
  246. data/app/assets/images/store/cart.png +0 -0
  247. data/app/assets/images/store/footer_bkgd.jpg +0 -0
  248. data/app/assets/images/store/icons/american-express-curved-32px.png +0 -0
  249. data/app/assets/images/store/icons/discover-curved-32px.png +0 -0
  250. data/app/assets/images/store/icons/facebook.png +0 -0
  251. data/app/assets/images/store/icons/mastercard-curved-32px.png +0 -0
  252. data/app/assets/images/store/icons/social-icons-rollover.png +0 -0
  253. data/app/assets/images/store/icons/social-icons.png +0 -0
  254. data/app/assets/images/store/icons/twitter.png +0 -0
  255. data/app/assets/images/store/icons/visa-curved-32px.png +0 -0
  256. data/app/assets/images/store/kid.jpg +0 -0
  257. data/app/assets/images/store/logo.png +0 -0
  258. data/app/assets/images/store/narrow_bg.png +0 -0
  259. data/app/assets/images/store/satellite-radios-bg.jpg +0 -0
  260. data/app/assets/images/store/search_bg_s1.gif +0 -0
  261. data/app/assets/images/store/select_arrow.gif +0 -0
  262. data/app/assets/images/store/shadow_top.png +0 -0
  263. data/app/assets/images/store/social-icons-rollover.png +0 -0
  264. data/app/assets/images/store/social-icons.png +0 -0
  265. data/app/assets/images/sxsw-ribbon-v1.png +0 -0
  266. data/app/assets/images/tab_bottom.gif +0 -0
  267. data/app/assets/images/thum-product.png +0 -0
  268. data/app/assets/images/tile-header.png +0 -0
  269. data/app/assets/images/tile-slider.png +0 -0
  270. data/app/assets/images/top-shine.png +0 -0
  271. data/app/assets/images/tree-nav-icons/bullet.gif +0 -0
  272. data/app/assets/images/tree-nav-icons/minus.gif +0 -0
  273. data/app/assets/images/tree-nav-icons/plus.gif +0 -0
  274. data/app/assets/images/tree-nav-icons/treeview-loading.gif +0 -0
  275. data/app/assets/images/tree-nav-icons/treeview-sprite.gif +0 -0
  276. data/app/assets/images/update.png +0 -0
  277. data/app/assets/images/visa_cid.gif +0 -0
  278. data/app/assets/images/wrapper-back-2.png +0 -0
  279. data/app/assets/images/wrapper-back.png +0 -0
  280. data/app/assets/images/yui-menubaritem_submenuindicator.png +0 -0
  281. data/app/assets/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  282. data/app/assets/images/yui-menuitem_checkbox.png +0 -0
  283. data/app/assets/images/yui-menuitem_checkbox_disabled.png +0 -0
  284. data/app/assets/images/yui-menuitem_submenuindicator.png +0 -0
  285. data/app/assets/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  286. data/app/assets/images/yui-sprite.png +0 -0
  287. data/app/assets/javascripts/store/address.js +12 -0
  288. data/app/assets/stylesheets/store/hacks.css +6 -0
  289. data/app/assets/stylesheets/store/reset.css +57 -0
  290. data/app/assets/stylesheets/store/style.css +277 -0
  291. data/app/overrides/add_checkout_edit.rb +13 -0
  292. data/app/overrides/add_store_head.rb +4 -0
  293. data/app/overrides/remove_user_edit.rb +4 -0
  294. data/app/overrides/remove_user_login.rb +3 -0
  295. data/app/overrides/replace_checkout_confirm.rb +4 -0
  296. data/app/overrides/replace_checkout_delivery.rb +4 -0
  297. data/app/overrides/replace_checkout_edit.rb +4 -0
  298. data/app/overrides/replace_checkout_payment.rb +33 -0
  299. data/app/overrides/replace_checkout_registration.rb +19 -0
  300. data/app/overrides/replace_orders_edit.rb +58 -0
  301. data/app/overrides/replace_orders_form.rb +27 -0
  302. data/app/overrides/replace_orders_line_item.rb +35 -0
  303. data/app/overrides/replace_orders_show.rb +31 -0
  304. data/app/overrides/replace_payment_gateway.rb +44 -0
  305. data/app/overrides/replace_product_show.rb +58 -0
  306. data/app/overrides/replace_products_taxons.rb +16 -0
  307. data/app/overrides/replace_shared_error_messages.rb +11 -0
  308. data/app/overrides/replace_shared_filters.rb +20 -0
  309. data/app/overrides/replace_shared_order_details.rb +110 -0
  310. data/app/overrides/replace_shared_products.rb +26 -0
  311. data/app/overrides/replace_shared_products_search_title.rb +4 -0
  312. data/app/overrides/replace_shared_taxon.rb +4 -0
  313. data/app/overrides/replace_store_head.rb +4 -0
  314. data/app/overrides/replace_store_layout.rb +74 -0
  315. data/app/overrides/replace_taxons_show.rb +4 -0
  316. data/app/overrides/replace_user_edit.rb +22 -0
  317. data/app/overrides/replace_user_form.rb +28 -0
  318. data/app/overrides/replace_user_login.rb +31 -0
  319. data/app/overrides/replace_user_passwords_new.rb +36 -0
  320. data/app/overrides/replace_user_registration.rb +29 -0
  321. data/app/overrides/replace_user_sessions_new.rb +27 -0
  322. data/app/overrides/replace_user_show.rb +66 -0
  323. data/app/views/spree/checkout/_address.html.erb +184 -0
  324. data/app/views/spree/products/_cart_form.html.erb +56 -0
  325. data/app/views/spree/products/_properties.html.erb +10 -0
  326. data/app/views/spree/products/_thumbnails.html.erb +50 -0
  327. data/lib/spree_odg_theme.rb +15 -0
  328. data/spree_odg_theme.gemspec +17 -0
  329. metadata +382 -0
@@ -0,0 +1,13 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/edit},
2
+ :name => %q{add_checkout_edit},
3
+ :insert_before => %q{#checkout[data-hook]},
4
+ :text => %q{
5
+ <% content_for :sidebar do %>
6
+ <div data-hook="homepage_sidebar_navigation">
7
+ <% if "products" == @current_controller && @taxon %>
8
+ <%= render :partial => 'spree/shared/filters' %>
9
+ <% else %>
10
+ <%= render :partial => 'spree/shared/taxonomies' %>
11
+ <% end %>
12
+ </div>
13
+ <% end %>})
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/shared/_head},
2
+ :name => %q{add_store_head},
3
+ :insert_after => %q{code[erb-loud]:contains('javascript_include_tag')},
4
+ :text => %q{<%= javascript_include_tag 'store/address' %>})
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/users/edit},
2
+ :name => %q{remove_user_edit},
3
+ :sequence => {:before => 'replace_user_edit'},
4
+ :remove => %q{code[erb-loud]:contains('f.submit')})
@@ -0,0 +1,3 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/shared/_login},
2
+ :name => %q{remove_user_login},
3
+ :remove => %q{code[erb-loud]:contains('f.submit')})
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/_confirm},
2
+ :name => %q{replace_checkout_confirm},
3
+ :replace => %q{legend},
4
+ :text => %q{<h4 class="sechead"><%= t(@order.state, :scope => :order_state).titleize %></h4> <br />})
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/_delivery},
2
+ :name => %q{replace_checkout_delivery},
3
+ :replace => %q{legend},
4
+ :text => %q{<h5 class="subhead"><%= t(:shipping_method) %></h5>})
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/edit},
2
+ :name => %q{replace_checkout_edit},
3
+ :replace => %q{code[erb-loud]:contains('render @order.state')},
4
+ :text => %q{<%= render @order.state, :form => form , :order => @order %>})
@@ -0,0 +1,33 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/_payment},
2
+ :name => %q{replace_checkout_payment},
3
+ :replace => %q{#payment[data-hook]},
4
+ :text => %q{
5
+ <fieldset id="payment" data-hook>
6
+ <h5 class="subhead"><%= t(:payment_information) %></h5>
7
+ <div data-hook="checkout_payment_step">
8
+ <% @order.available_payment_methods.each do |method| %>
9
+ <p>
10
+ <label>
11
+ <%= radio_button_tag "order[payments_attributes][][payment_method_id]", method.id, method == @order.payment_method %>
12
+ <%= t(method.name, :scope => :payment_methods, :default => method.name) %>
13
+ </label>
14
+ </p>
15
+ <% end %>
16
+ <ul id="payment-methods" data-hook>
17
+ <% @order.available_payment_methods.each do |method| %>
18
+ <li id="payment_method_<%= method.id %>" class="<%= 'last' if method == @order.available_payment_methods.last %>" data-hook>
19
+ <fieldset>
20
+ <%= render :partial => "spree/checkout/payment/#{method.method_type}", :locals => { :payment_method => method } %>
21
+ </fieldset>
22
+ </li>
23
+ <% end %>
24
+ </ul>
25
+ <br style="clear:both;" />
26
+ <div class="field_wrap">
27
+ <label>Coupon Code </label>
28
+ <div class="input_wrap">
29
+ <%= form.text_field :coupon_code, :size => 19,:class=>"txtinput coupon_code" %>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </fieldset>})
@@ -0,0 +1,19 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/registration},
2
+ :name => %q{replace_checkout_registration},
3
+ :replace => %q{#guest_checkout},
4
+ :text => %q{
5
+ <div id="guest_checkout" data-hook class="columns omega eight">
6
+ <div class="wrapper-lb">
7
+ <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
8
+ <h2><%= t(:guest_user_account) %></h2>
9
+ <%= form_for @order, :url => update_checkout_registration_path, :method => :put, :html => { :id => 'checkout_form_registration' } do |f| %>
10
+ <p>
11
+ <div class="fm-elements">
12
+ <%= f.label :email, t(:email) %><br />
13
+ <%= f.email_field :email, :class => 'title' %>
14
+ </div>
15
+ </p>
16
+ <p><%= f.submit t(:continue), :class => 'button primary' %></p>
17
+ <% end %>
18
+ </div>
19
+ </div>})
@@ -0,0 +1,58 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/orders/edit},
2
+ :name => %q{replace_orders_edit},
3
+ :replace => %q{h1},
4
+ :closing_selector => %q{#empty-cart[data-hook]},
5
+ :text => %q{
6
+ <% content_for :sidebar do %>
7
+ <div data-hook="taxon_sidebar_navigation">
8
+ <%= render :partial => 'spree/shared/taxonomies' %>
9
+ </div>
10
+ <% end %>
11
+
12
+ <% @body_id = 'cart' %>
13
+
14
+ <h4 class="taxonomy-root"><%= t(:shopping_cart) %></h4>
15
+
16
+ <% if @order.line_items.empty? %>
17
+
18
+ <div data-hook="empty_cart">
19
+ <br/><p><%= t(:your_cart_is_empty) %></p><br/>
20
+ <h3><%= link_to t(:continue_shopping), products_path, :class => 'button continue' %></h3>
21
+ </div>
22
+
23
+ <% else %>
24
+ <div data-hook="outside_cart_form">
25
+ <%= form_for @order, :url => update_cart_path, :html => {:id => 'update-cart'} do |order_form| %>
26
+ <div data-hook="inside_cart_form">
27
+ <div data-hook="cart_items">
28
+ <%= render :partial => 'form', :locals => { :order_form => order_form } %>
29
+ </div>
30
+ <div class="addtocart-btns">
31
+ <div class="btns-left">
32
+ </div>
33
+ <div class="btns-right">
34
+ <input type="submit" class="button primary" name="commit" value="Update" />
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <% end %>
39
+ </div>
40
+ <div class="addtocart-btns">
41
+ <div class="btns-left">
42
+ <%= link_to t(:continue_shopping), products_path, :class => 'continue button' %>
43
+ <span id="empty-cart" data-hook>
44
+ <%= form_tag empty_cart_path, :method => :put do %>
45
+ <p id="clear_cart_link" data-hook>
46
+ <%= submit_tag t(:empty_cart), :class => 'button primary' %>
47
+ <%#= t(:or) %>
48
+ </p>
49
+ <% end %>
50
+ <%= link_to t(:checkout), checkout_path, :class => 'button checkout primary', :id => 'checkout-link' %>
51
+ </span></div>
52
+ <div class="btns-right">
53
+
54
+ </div>
55
+ </div>
56
+
57
+
58
+ })
@@ -0,0 +1,27 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/orders/_form},
2
+ :name => %q{replace_orders_form},
3
+ :replace => %q{#cart-detail[data-hook]},
4
+ :text => %q{
5
+ <table cellspacing="0" cellpadding="0" class="grid-table add-to-cart" id="cart-detail" data-hook>
6
+ <thead>
7
+ <tr data-hook="cart_items_headers">
8
+ <th class="item"><%= t("item") %></th>
9
+ <th class="desc">Description</th>
10
+ <th class="price"><%= t("price") %></th>
11
+ <th class="qty"><%=t("qty")%></th>
12
+ <th class="total"><%= t("total") %></th>
13
+ <th class="delete_link"></th>
14
+ </tr>
15
+ </thead>
16
+ <tbody id="line_items" data-hook>
17
+ <%= order_form.fields_for :line_items do |item_form| %>
18
+ <%= render :partial => 'line_item', :locals => { :variant => item_form.object.variant, :line_item => item_form.object, :item_form => item_form } %>
19
+ <% end %>
20
+
21
+ <tr class="subtotal">
22
+ <td colspan="4">Subtotal:</td>
23
+ <td><%= order_subtotal(@order) %></td>
24
+ <td>&nbsp;</td>
25
+ </tr>
26
+ </tbody>
27
+ </table>})
@@ -0,0 +1,35 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/orders/_line_item},
2
+ :name => %q{replace_orders_line_item},
3
+ :replace => %q{tr},
4
+ :text => %q{
5
+ <tr class="<%= cycle('', 'alt') %> line-item">
6
+ <td data-hook="cart_item_image">
7
+ <% if variant.images.length == 0 %>
8
+ <%= link_to small_image(variant.product), variant.product %>
9
+ <% else %>
10
+ <%= link_to image_tag(variant.images.first.attachment.url(:small)), variant.product %>
11
+ <% end %>
12
+ </td>
13
+ <td data-hook="cart_item_description">
14
+ <h4 class="wod_brk"><%= link_to variant.product.name, product_path(variant.product) %></h4>
15
+ <%= variant.options_text %>
16
+ <% if @order.insufficient_stock_lines.include? line_item %>
17
+ <span class="out-of-stock">
18
+ <%= variant.in_stock? ? t(:insufficient_stock, :on_hand => variant.on_hand) : t(:out_of_stock) %><br />
19
+ </span>
20
+ <% end %>
21
+ <p class="wod_brk"><%= truncate(variant.product.description, :length => 100, :omission => "...") %></p>
22
+ </td>
23
+ <td data-hook="cart_item_price">
24
+ <%= number_to_currency line_item.price %>
25
+ </td>
26
+ <td data-hook="cart_item_quantity">
27
+ <%= item_form.text_field :quantity, :min => 0, :class => "line_item_quantity txt_qty", :size => 3 ,:maxlength=>4 %>
28
+ </td>
29
+ <td data-hook="cart_item_total">
30
+ <%= number_to_currency(line_item.price * line_item.quantity) unless line_item.quantity.nil? %>
31
+ </td>
32
+ <td data-hook="cart_item_delete">
33
+ <%= link_to image_tag('icons/delete.png'), '#', :class => 'delete', :id => "delete_#{dom_id(line_item)}" %>
34
+ </td>
35
+ </tr>})
@@ -0,0 +1,31 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/orders/show},
2
+ :name => %q{replace_orders_show},
3
+ :replace => %q{#order_summary[data-hook]},
4
+ :text => %q{
5
+ <% content_for :sidebar do %>
6
+ <%= render "spree/shared/taxonomies" %>
7
+ <%end%>
8
+
9
+ <fieldset id="order_summary" data-hook>
10
+ <h2><legend><%= t(:order) + " #" + @order.number %></legend><h2><br/>
11
+ <h1><%= accurate_title %></h1>
12
+
13
+ <div id="order" data-hook>
14
+ <% if params.has_key? :checkout_complete %>
15
+ <h3><%= t(:thank_you_for_your_order) %></h3>
16
+ <% end %>
17
+ <%= render :partial => 'spree/shared/order_details', :locals => { :order => @order } %>
18
+
19
+ <br class="clear" />
20
+ <div data-hook="links" class="form-buttons">
21
+ <%= link_to t(:back_to_store), spree.root_path, :class => "button" %>
22
+ <% unless params.has_key? :checkout_complete %>
23
+ <% if respond_to?(:current_user) && current_user %>
24
+ <%#= link_to t(:my_account), spree.account_path, :class => "button" %>
25
+ <% end %>
26
+ <% end %>
27
+ </div>
28
+ </div>
29
+ </fieldset>
30
+
31
+ })
@@ -0,0 +1,44 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/payment/_gateway},
2
+ :name => %q{replace_payment_gateway},
3
+ :replace => %q{code[erb-loud]:contains('image_tag')},
4
+ :closing_selector => %q{code[erb-loud]:contains('last_name')},
5
+ :text => %q{
6
+ <h5 class="subhead">Card Details <%= image_tag 'creditcards/creditcard.gif', :id => 'creditcard-image' ,:class=>"card_logos"%></h5>
7
+ <div class="clearfix"></div>
8
+ <div class="form_block card_details ">
9
+ <div class="field_wrap">
10
+ <label>Card Number <span class="req">*</span></label>
11
+ <div class="input_wrap">
12
+ <% param_prefix = "payment_source[#{payment_method.id}]" %>
13
+ <% options_hash = Rails.env.production? ? {:autocomplete => "off"} : {} %>
14
+ <%= text_field_tag "#{param_prefix}[number]", '', options_hash.merge(:id => 'card_number', :class => 'txtinput card_no', :size => 19, :maxlength => 19) %>
15
+ </div>
16
+ </div>
17
+ <span id="card_type" style="display:none;">
18
+ ( <span id="looks_like" ><%= t('card_type_is') %> <span id="type"></span></span>
19
+ <span id="unrecognized"><%= t('unrecognized_card_type') %></span>
20
+ )
21
+ </span>
22
+ <div class="field_wrap">
23
+ <label>Expiration <span class="req">*</span></label>
24
+ <div class="input_wrap">
25
+ <%= select_month(0, {:prefix => param_prefix, :field_name => 'month', :use_month_numbers => true,:prompt=>true},{ :class => "txtselect exp_month" })%>
26
+ <%= select_year(0, {:prefix => param_prefix, :field_name => 'year', :start_year => Date.today.year, :end_year => Date.today.year + 15,:prompt=>true}, {:class => "txtselect exp_year"}) %>
27
+
28
+ </div>
29
+ </div>
30
+
31
+ <div class="field_wrap">
32
+ <label>Card Code <span class="req">*</span></label>
33
+ <div class="input_wrap">
34
+ <%= text_field_tag "#{param_prefix}[verification_value]", '', options_hash.merge(:id => 'card_code', :class => 'txtinput card_code', :size => 5) %>
35
+ </div>
36
+ <a href="/content/cvv" target="_blank" onclick="window.open(this.href,'cvv_info','left=20,top=20,width=500,height=500,toolbar=0,resizable=0,scrollbars=1');return false" class="cvv_desc">
37
+ (<%= t("whats_this") %>)
38
+ </a>
39
+ </div>
40
+
41
+ <%= hidden_field param_prefix, 'first_name', :value => @order.billing_firstname %>
42
+ <%= hidden_field param_prefix, 'last_name', :value => @order.billing_lastname %>
43
+
44
+ })
@@ -0,0 +1,58 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/products/show},
2
+ :name => %q{replace_product_show},
3
+ :replace => %q{[data-hook='product_show']},
4
+ :sequence => {:before => 'replace_products_cart_form' },
5
+ :text => %q{<div data-hook="product_show" itemscope itemtype="http://schema.org/Product">
6
+ <% content_for :sidebar do %>
7
+ <div data-hook="homepage_sidebar_navigation">
8
+ <%= render :partial => 'spree/shared/taxonomies' %>
9
+ </div>
10
+ <% end %>
11
+
12
+ <% @body_id = 'product-details' %>
13
+ <div class="secblock">
14
+ <div class="prod-detail">
15
+ <div class="prod-info-wrap bor_bot over_visible">
16
+ <div class="img-container" id="product-images">
17
+ <div id="product-images" data-hook="product_images">
18
+ <div id="main-image" data-hook>
19
+ <div class="img-large" id="main-image">
20
+ <%= render 'image' %>
21
+ </div>
22
+ </div>
23
+ <div class="img-thumbs" id="thumbnails">
24
+ <div id="thumbnails" data-hook>
25
+ <%= render 'thumbnails', :product => @product , :variants => @variants %>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="prod-info">
32
+ <h2><%= accurate_title %></h2>
33
+ <div class="coll-info">
34
+ <div data-hook="product_properties">
35
+ <%= render 'properties' , :product_properties => @product_properties %>
36
+ </div>
37
+
38
+ <div id="cart-form" data-hook="cart_form">
39
+ <%= render 'cart_form', :product => @product %>
40
+ </div>
41
+
42
+ </div>
43
+ </div>
44
+ <div class="clear"></div>
45
+ </div>
46
+ <div class="prod-info-wrap bor_bot pdt_desc">
47
+ <h5 class="subhead">Product Description</h5>
48
+ <p>
49
+ <%= product_description(@product) rescue t("product_has_no_description") %>
50
+ </p>
51
+ </div>
52
+
53
+ <%= render 'taxons' %>
54
+
55
+ </div>
56
+ </div>
57
+ })
58
+
@@ -0,0 +1,16 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/products/_taxons},
2
+ :name => %q{replace_products_taxons},
3
+ :replace => %q{#taxon-crumbs[data-hook]},
4
+ :text => %q{
5
+ <div id="taxon-crumbs" data-hook class="columns five omega">
6
+ <h5 class="product-section-title"><%= t(:look_for_similar_items) %></h5>
7
+ <div data-hook="product_taxons">
8
+ <div class="similar-items">
9
+ <ul id="similar_items_by_taxon" data-hook>
10
+ <% @product.taxons.each do |taxon| %>
11
+ <li><%= link_to taxon.name, seo_url(taxon) %></li>
12
+ <% end %>
13
+ </ul>
14
+ </div>
15
+ </div>
16
+ </div>})
@@ -0,0 +1,11 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/shared/_error_messages},
2
+ :name => %q{replace_shared_error_messages},
3
+ :replace => %q{#errorExplanation[data-hook]},
4
+ :text => %q{
5
+ <div id="errorExplanation" class="errorExplanation" data-hook>
6
+ <ul>
7
+ <% target.errors.full_messages.each do |msg| %>
8
+ <li><%= msg %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>})
@@ -0,0 +1,20 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/shared/_filters},
2
+ :name => %q{replace_shared_filters},
3
+ :replace => %q{.navigation},
4
+ :text => %q{
5
+ <div class="navigation" data-hook="navigation">
6
+ <h6 class="taxonomy-root"> <%= filter[:name] %> </h6>
7
+ <ul class="filter_choices inner-list">
8
+ <% labels.each do |nm,val| %>
9
+ <% label = "#{filter[:name]}_#{nm}".gsub(/\s+/,'_') %>
10
+ <li class="nowrap chckbox-wrap">
11
+ <input type="checkbox"
12
+ id="<%= label %>"
13
+ name="search[<%= filter[:scope].to_s %>][]"
14
+ value="<%= val %>"
15
+ <%= params[:search][filter[:scope]] && params[:search][filter[:scope]].include?(val.to_s) ? "checked" : "" %> />
16
+ <label class="nowrap" for="<%= label %>"> <%= nm %> </label>
17
+ </li>
18
+ <% end %>
19
+ </ul>
20
+ </div>})
@@ -0,0 +1,110 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/shared/_order_details},
2
+ :name => %q{replace_shared_order_details},
3
+ :replace => %q{.steps-data},
4
+ :closing_selector => %q{table},
5
+ :text => %q{
6
+ <div class="row steps-data">
7
+
8
+ <div class="columns alpha four">
9
+ <h5><%= t(:shipping_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %></h5><br/>
10
+ <div class="address">
11
+ <%= order.ship_address %>
12
+ </div>
13
+ </div><br/>
14
+
15
+ <div class="columns alpha four">
16
+ <h5><%= t(:billing_address) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %></h5><br/>
17
+ <div class="address">
18
+ <%= order.bill_address %>
19
+ </div>
20
+ </div><br/>
21
+
22
+ <div class="columns alpha four">
23
+ <h5><%= t(:shipping_method) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:delivery) unless @order.completed? %></h5><br/>
24
+ <div class="delivery">
25
+ <%= order.shipping_method.name %>
26
+ </div>
27
+ </div><br/>
28
+
29
+ <div class="columns omega four">
30
+ <h5><%= t(:payment_information) %> <%= link_to "(#{t(:edit)})", checkout_state_path(:payment) unless @order.completed? %></h5><br/>
31
+ <div class="payment-info">
32
+ <% unless order.creditcards.empty? %>
33
+ <span class="cc-type">
34
+ <%#= image_tag "creditcards/icons/#{order.creditcards.first.cc_type}.png" %>
35
+ <%#= t(:ending_in)%> Card Ending With : &nbsp;<%= order.creditcards.first.last_digits %>
36
+ </span>
37
+ <br /><br />
38
+ <span class="full-name">
39
+ <%= order.creditcards.first.first_name %>
40
+ <%= order.creditcards.first.last_name %>
41
+ </span>
42
+ <% end %>
43
+ </div>
44
+ </div>
45
+ </div>
46
+
47
+ <table class="index columns alpha omega sixteen grid-table" data-hook="order_details">
48
+ <thead id="line-items" data-hook>
49
+ <tr data-hook="order_details_line_items_headers">
50
+ <th class="image"><b><%= t(:image) %></b></th>
51
+ <th class="desc"><%= t(:item) %></th>
52
+ <th class="price" ><%= t(:price) %></th>
53
+ <th class="qty"><%= t(:qty) %></th>
54
+ <th class="total"><span><%= t(:total) %></span></th>
55
+ </tr>
56
+ </thead>
57
+
58
+ <tbody id="line-items" data-hook>
59
+ <% @order.line_items.each do |item| %>
60
+ <tr data-hook="order_details_line_item_row">
61
+ <td data-hook="order_item_image">
62
+ <% if item.variant.images.length == 0 %>
63
+ <%= link_to small_image(item.variant.product), item.variant.product %>
64
+ <% else %>
65
+ <%= link_to image_tag(item.variant.images.first.attachment.url(:small)), item.variant.product %>
66
+ <% end %>
67
+ </td>
68
+ <td data-hook="order_item_description">
69
+ <h4><%= item.variant.product.name %></h4>
70
+ <%= truncate(item.variant.product.description, :length => 100, :omission => "...") %>
71
+ <%= "(" + variant_options(item.variant) + ")" unless item.variant .option_values.empty? %>
72
+ </td>
73
+ <td data-hook="order_item_price" class="price"><span><%= number_to_currency item.price %></span></td>
74
+ <td data-hook="order_item_qty"><%= item.quantity %></td>
75
+ <td data-hook="order_item_total" class="total"><span><%= number_to_currency (item.price * item.quantity) %></span></td>
76
+ </tr>
77
+ <% end %>
78
+ </tbody><br/>
79
+ <tfoot id="order-total" data-hook="order_details_total">
80
+ <tr class="total">
81
+ <td colspan="4"><b><%= t(:order_total) %>:</b></td>
82
+ <td class="total"><span id="order_total"><%= number_to_currency @order.total %></span></td>
83
+ </tr>
84
+ </tfoot>
85
+ <% if order.price_adjustment_totals.present? %>
86
+ <tfoot id="price-adjustments" data-hook="order_details_price_adjustments">
87
+ <% @order.price_adjustment_totals.keys.each do |key| %>
88
+ <tr class="total">
89
+ <td colspan="4"><strong><%= key %></strong></td>
90
+ <td class="total"><span><%= number_to_currency @order.price_adjustment_totals[key] %></span></td>
91
+ </tr>
92
+ <% end %>
93
+ </tfoot>
94
+ <% end %>
95
+ <tfoot id="subtotal" data-hook="order_details_subtotal">
96
+ <tr class="total" id="subtotal-row">
97
+ <td colspan="4" class="subtotal"><b><%= t(:subtotal) %>:</b></td>
98
+ <td class="total"><span><%= number_to_currency @order.item_total %></span></td>
99
+ </tr>
100
+ </tfoot>
101
+ <tfoot id="order-charges" data-hook="order_details_adjustments">
102
+ <% @order.adjustments.eligible.each do |adjustment| %>
103
+ <% next if (adjustment.originator_type == 'Spree::TaxRate') and (adjustment.amount == 0) %>
104
+ <tr class="total">
105
+ <td colspan="4" class="subtotal"><strong><%= adjustment.label %></strong></td>
106
+ <td class="total"><span><%= number_to_currency adjustment.amount %></span></td>
107
+ </tr>
108
+ <% end %>
109
+ </tfoot>
110
+ </table>})