solidus_backend 2.3.1 → 2.4.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (270) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/spree/backend/admin.js +0 -12
  3. data/app/assets/javascripts/spree/backend/number_field_updater.coffee +5 -5
  4. data/app/assets/javascripts/spree/backend/shipments.js +16 -14
  5. data/app/assets/javascripts/spree/backend/stock_transfers/count_update_forms.coffee +3 -3
  6. data/app/assets/javascripts/spree/backend/stock_transfers/transfer_item_deleting.coffee +1 -1
  7. data/app/assets/javascripts/spree/backend/taxonomy.js.coffee +1 -1
  8. data/app/assets/javascripts/spree/backend/templates/orders/details_adjustment_row.hbs +2 -2
  9. data/app/assets/javascripts/spree/backend/templates/orders/line_item.hbs +3 -3
  10. data/app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs +5 -5
  11. data/app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs +5 -5
  12. data/app/assets/javascripts/spree/backend/templates/taxons/_tree.hbs +7 -3
  13. data/app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs +1 -1
  14. data/app/assets/javascripts/spree/backend/templates/variants/split.hbs +2 -2
  15. data/app/assets/javascripts/spree/backend/views/order/customer_details.js +1 -2
  16. data/app/assets/javascripts/spree/backend.js +1 -1
  17. data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +27 -906
  18. data/app/assets/stylesheets/spree/backend/components/_actions.scss +13 -15
  19. data/app/assets/stylesheets/spree/backend/components/_date-picker.scss +1 -1
  20. data/app/assets/stylesheets/spree/backend/components/_editable_table.scss +0 -1
  21. data/app/assets/stylesheets/spree/backend/components/_messages.scss +8 -8
  22. data/app/assets/stylesheets/spree/backend/components/_navigation.scss +1 -1
  23. data/app/assets/stylesheets/spree/backend/components/_number_field_update.scss +1 -1
  24. data/app/assets/stylesheets/spree/backend/components/_number_with_currency.scss +1 -1
  25. data/app/assets/stylesheets/spree/backend/components/_pills.scss +92 -0
  26. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +7 -32
  27. data/app/assets/stylesheets/spree/backend/components/_states.scss +5 -27
  28. data/app/assets/stylesheets/spree/backend/components/_stock_table.scss +0 -12
  29. data/app/assets/stylesheets/spree/backend/globals/_variables.scss +58 -139
  30. data/app/assets/stylesheets/spree/backend/plugins/_bootstrap_tooltip.scss +11 -15
  31. data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +7 -5
  32. data/app/assets/stylesheets/spree/backend/sections/_orders.scss +6 -6
  33. data/app/assets/stylesheets/spree/backend/sections/_products.scss +5 -1
  34. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +4 -2
  35. data/app/assets/stylesheets/spree/backend/sections/_stock_management.scss +4 -35
  36. data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +14 -15
  37. data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +9 -16
  38. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +23 -20
  39. data/app/assets/stylesheets/spree/backend/shared/_header.scss +1 -5
  40. data/app/assets/stylesheets/spree/backend/shared/_layout.scss +3 -23
  41. data/app/assets/stylesheets/spree/backend/shared/_tables.scss +40 -92
  42. data/app/assets/stylesheets/spree/backend/shared/_typography.scss +6 -6
  43. data/app/assets/stylesheets/spree/backend/spree_admin.scss +1 -1
  44. data/app/controllers/spree/admin/adjustments_controller.rb +1 -1
  45. data/app/controllers/spree/admin/customer_returns_controller.rb +0 -1
  46. data/app/controllers/spree/admin/promotion_actions_controller.rb +1 -1
  47. data/app/controllers/spree/admin/shipping_methods_controller.rb +1 -1
  48. data/app/controllers/spree/admin/style_guide_controller.rb +3 -2
  49. data/app/controllers/spree/admin/tax_rates_controller.rb +1 -1
  50. data/app/controllers/spree/admin/users_controller.rb +9 -4
  51. data/app/helpers/spree/admin/base_helper.rb +32 -35
  52. data/app/helpers/spree/admin/stock_transfers_helper.rb +0 -4
  53. data/app/models/spree/backend_configuration.rb +1 -1
  54. data/app/views/spree/admin/adjustment_reasons/index.html.erb +6 -4
  55. data/app/views/spree/admin/adjustments/_adjustment.html.erb +5 -5
  56. data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +7 -7
  57. data/app/views/spree/admin/cancellations/index.html.erb +9 -5
  58. data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +6 -3
  59. data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +12 -7
  60. data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +13 -8
  61. data/app/views/spree/admin/customer_returns/edit.html.erb +1 -1
  62. data/app/views/spree/admin/customer_returns/index.html.erb +5 -5
  63. data/app/views/spree/admin/images/_image_row.html.erb +14 -4
  64. data/app/views/spree/admin/images/index.html.erb +2 -1
  65. data/app/views/spree/admin/option_types/_option_value_fields.html.erb +6 -6
  66. data/app/views/spree/admin/option_types/edit.html.erb +2 -1
  67. data/app/views/spree/admin/option_types/index.html.erb +5 -5
  68. data/app/views/spree/admin/orders/_adjustments.html.erb +3 -3
  69. data/app/views/spree/admin/orders/_carton.html.erb +1 -1
  70. data/app/views/spree/admin/orders/_carton_manifest.html.erb +3 -3
  71. data/app/views/spree/admin/orders/_risk_analysis.html.erb +18 -16
  72. data/app/views/spree/admin/orders/_shipment.html.erb +26 -30
  73. data/app/views/spree/admin/orders/_shipment_manifest.html.erb +6 -6
  74. data/app/views/spree/admin/orders/confirm/_line_items.html.erb +3 -3
  75. data/app/views/spree/admin/orders/confirm/_payments.html.erb +6 -6
  76. data/app/views/spree/admin/orders/confirm/_shipment.html.erb +1 -1
  77. data/app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb +3 -3
  78. data/app/views/spree/admin/orders/index.html.erb +25 -9
  79. data/app/views/spree/admin/payment_methods/_form.html.erb +4 -1
  80. data/app/views/spree/admin/payment_methods/index.html.erb +11 -7
  81. data/app/views/spree/admin/payments/_capture_events.html.erb +1 -1
  82. data/app/views/spree/admin/payments/_list.html.erb +9 -5
  83. data/app/views/spree/admin/payments/show.html.erb +2 -2
  84. data/app/views/spree/admin/prices/_master_variant_table.html.erb +2 -2
  85. data/app/views/spree/admin/prices/_table.html.erb +2 -2
  86. data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +1 -1
  87. data/app/views/spree/admin/product_properties/index.html.erb +4 -2
  88. data/app/views/spree/admin/products/index.html.erb +10 -9
  89. data/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb +1 -1
  90. data/app/views/spree/admin/promotions/actions/_promotion_calculators_with_custom_fields.html.erb +1 -1
  91. data/app/views/spree/admin/promotions/calculators/_default_fields.html.erb +3 -6
  92. data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +3 -8
  93. data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +3 -8
  94. data/app/views/spree/admin/promotions/index.html.erb +24 -17
  95. data/app/views/spree/admin/promotions/rules/_user_role.html.erb +2 -2
  96. data/app/views/spree/admin/properties/index.html.erb +3 -3
  97. data/app/views/spree/admin/refund_reasons/index.html.erb +7 -5
  98. data/app/views/spree/admin/refunds/new.html.erb +1 -1
  99. data/app/views/spree/admin/reimbursement_types/index.html.erb +2 -2
  100. data/app/views/spree/admin/reimbursements/edit.html.erb +6 -6
  101. data/app/views/spree/admin/reimbursements/index.html.erb +9 -2
  102. data/app/views/spree/admin/reimbursements/show.html.erb +6 -6
  103. data/app/views/spree/admin/reports/index.html.erb +2 -2
  104. data/app/views/spree/admin/reports/sales_total.html.erb +1 -1
  105. data/app/views/spree/admin/return_authorizations/_form.html.erb +9 -5
  106. data/app/views/spree/admin/return_authorizations/edit.html.erb +9 -2
  107. data/app/views/spree/admin/return_authorizations/index.html.erb +11 -4
  108. data/app/views/spree/admin/search/products.json.jbuilder +10 -0
  109. data/app/views/spree/admin/search/users.json.jbuilder +37 -0
  110. data/app/views/spree/admin/shared/_calculator_fields.html.erb +4 -1
  111. data/app/views/spree/admin/shared/_modal.html.erb +18 -0
  112. data/app/views/spree/admin/shared/_number_field_update_actions.html.erb +2 -2
  113. data/app/views/spree/admin/shared/_number_field_update_cell.html.erb +1 -1
  114. data/app/views/spree/admin/shared/_order_summary.html.erb +21 -5
  115. data/app/views/spree/admin/shared/_refunds.html.erb +6 -6
  116. data/app/views/spree/admin/shared/_settings_sub_menu.html.erb +4 -4
  117. data/app/views/spree/admin/shared/named_types/_index.html.erb +7 -5
  118. data/app/views/spree/admin/shared/preference_fields/_boolean.html.erb +13 -0
  119. data/app/views/spree/admin/shared/preference_fields/_decimal.html.erb +12 -0
  120. data/app/views/spree/admin/shared/preference_fields/_integer.html.erb +12 -0
  121. data/app/views/spree/admin/shared/preference_fields/_password.html.erb +12 -0
  122. data/app/views/spree/admin/shared/preference_fields/_string.html.erb +12 -0
  123. data/app/views/spree/admin/shared/preference_fields/_text.html.erb +12 -0
  124. data/app/views/spree/admin/shipping_categories/index.html.erb +2 -2
  125. data/app/views/spree/admin/shipping_methods/index.html.erb +5 -5
  126. data/app/views/spree/admin/stock_items/_stock_management.html.erb +3 -3
  127. data/app/views/spree/admin/stock_locations/index.html.erb +9 -11
  128. data/app/views/spree/admin/stock_movements/index.html.erb +4 -4
  129. data/app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb +1 -1
  130. data/app/views/spree/admin/stock_transfers/_transfer_item_table.html.erb +2 -2
  131. data/app/views/spree/admin/stock_transfers/index.html.erb +10 -6
  132. data/app/views/spree/admin/stock_transfers/tracking_info.html.erb +1 -1
  133. data/app/views/spree/admin/store_credits/index.html.erb +53 -50
  134. data/app/views/spree/admin/store_credits/show.html.erb +5 -5
  135. data/app/views/spree/admin/stores/_form.html.erb +9 -0
  136. data/app/views/spree/admin/style_guide/topics/components/_modals.html.erb +50 -0
  137. data/app/views/spree/admin/style_guide/topics/components/_pills.html.erb +101 -0
  138. data/app/views/spree/admin/style_guide/topics/tables/_building_tables.html.erb +4 -4
  139. data/app/views/spree/admin/tax_categories/index.html.erb +5 -5
  140. data/app/views/spree/admin/tax_rates/index.html.erb +9 -9
  141. data/app/views/spree/admin/taxonomies/_list.html.erb +4 -4
  142. data/app/views/spree/admin/taxons/search.json.jbuilder +5 -0
  143. data/app/views/spree/admin/users/index.html.erb +64 -23
  144. data/app/views/spree/admin/users/items.html.erb +9 -13
  145. data/app/views/spree/admin/users/orders.html.erb +28 -12
  146. data/app/views/spree/admin/variants/_table.html.erb +6 -5
  147. data/app/views/spree/admin/variants/index.html.erb +12 -16
  148. data/app/views/spree/admin/variants/new.html.erb +1 -3
  149. data/app/views/spree/admin/zones/edit.html.erb +0 -3
  150. data/app/views/spree/admin/zones/index.html.erb +2 -6
  151. data/app/views/spree/admin/zones/new.html.erb +0 -3
  152. data/app/views/spree/layouts/admin.html.erb +9 -30
  153. data/config/routes.rb +0 -4
  154. data/lib/spree/backend.rb +2 -1
  155. data/solidus_backend.gemspec +3 -1
  156. data/spec/controllers/spree/admin/orders_controller_spec.rb +0 -5
  157. data/spec/controllers/spree/admin/payments_controller_spec.rb +1 -1
  158. data/spec/controllers/spree/admin/search_controller_spec.rb +2 -2
  159. data/spec/features/admin/configuration/payment_methods_spec.rb +1 -1
  160. data/spec/features/admin/configuration/zones_spec.rb +1 -1
  161. data/spec/features/admin/orders/adjustments_spec.rb +1 -1
  162. data/spec/features/admin/orders/cancelling_and_resuming_spec.rb +4 -4
  163. data/spec/features/admin/orders/cancelling_inventory_spec.rb +1 -1
  164. data/spec/features/admin/orders/customer_details_spec.rb +8 -1
  165. data/spec/features/admin/orders/listing_spec.rb +1 -1
  166. data/spec/features/admin/orders/new_order_spec.rb +3 -3
  167. data/spec/features/admin/orders/order_details_spec.rb +17 -16
  168. data/spec/features/admin/orders/payments_spec.rb +4 -4
  169. data/spec/features/admin/orders/risk_analysis_spec.rb +2 -2
  170. data/spec/features/admin/orders/shipments_spec.rb +1 -1
  171. data/spec/features/admin/products/edit/images_spec.rb +1 -1
  172. data/spec/features/admin/store_credits_spec.rb +3 -3
  173. data/spec/features/admin/stores_spec.rb +35 -0
  174. data/spec/features/admin/users_spec.rb +60 -13
  175. data/spec/spec_helper.rb +9 -4
  176. data/vendor/assets/javascripts/solidus_admin/bootstrap.js +657 -361
  177. data/vendor/assets/javascripts/solidus_admin/popover.js +4 -0
  178. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss +4 -11
  179. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_badge.scss +4 -33
  180. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_breadcrumb.scss +1 -1
  181. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_button-group.scss +11 -15
  182. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_buttons.scss +13 -42
  183. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_card.scss +27 -80
  184. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_carousel.scss +24 -17
  185. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_close.scss +0 -2
  186. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom-forms.scss +27 -36
  187. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_dropdown.scss +15 -48
  188. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_forms.scss +70 -68
  189. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_functions.scss +90 -0
  190. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss +3 -2
  191. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_images.scss +1 -1
  192. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_input-group.scss +6 -8
  193. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_jumbotron.scss +0 -4
  194. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_list-group.scss +9 -36
  195. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss +0 -4
  196. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_mixins.scss +2 -18
  197. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_modal.scss +3 -3
  198. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_nav.scss +15 -16
  199. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_navbar.scss +70 -54
  200. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +3 -4
  201. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_popover.scss +96 -72
  202. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_print.scss +1 -9
  203. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_progress.scss +4 -4
  204. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_reboot.scss +187 -95
  205. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tables.scss +34 -19
  206. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tooltip.scss +52 -35
  207. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_type.scss +8 -28
  208. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_utilities.scss +1 -0
  209. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_variables.scss +286 -410
  210. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-grid.scss +2 -8
  211. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-reboot.scss +1 -2
  212. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap.scss +2 -15
  213. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_alert.scss +4 -5
  214. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_badge.scss +6 -5
  215. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_border-radius.scss +3 -3
  216. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_box-shadow.scss +5 -0
  217. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_breakpoints.scss +23 -13
  218. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_buttons.scss +11 -14
  219. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_clearfix.scss +1 -1
  220. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_forms.scss +57 -55
  221. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_gradients.scss +1 -1
  222. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid-framework.scss +9 -18
  223. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid.scss +12 -65
  224. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss +6 -6
  225. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_list-group.scss +2 -4
  226. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_nav-divider.scss +3 -3
  227. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_pagination.scss +1 -0
  228. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_reset-text.scss +4 -3
  229. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_resize.scss +1 -1
  230. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_screen-reader.scss +5 -2
  231. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-truncate.scss +1 -1
  232. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transition.scss +9 -0
  233. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_visibility.scss +2 -2
  234. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_background.scss +4 -17
  235. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_borders.scss +20 -5
  236. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_display.scss +36 -1
  237. data/vendor/assets/stylesheets/solidus_admin/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +0 -0
  238. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_flex.scss +0 -4
  239. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_position.scss +5 -3
  240. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_spacing.scss +10 -12
  241. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_text.scss +5 -17
  242. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_visibility.scss +4 -48
  243. metadata +73 -34
  244. data/app/assets/stylesheets/spree/backend/shared/_skeleton.scss +0 -242
  245. data/app/controllers/spree/admin/countries_controller.rb +0 -9
  246. data/app/controllers/spree/admin/states_controller.rb +0 -29
  247. data/app/helpers/spree/admin/reimbursements_helper.rb +0 -14
  248. data/app/views/spree/admin/countries/_form.html.erb +0 -22
  249. data/app/views/spree/admin/countries/edit.html.erb +0 -19
  250. data/app/views/spree/admin/countries/index.html.erb +0 -49
  251. data/app/views/spree/admin/countries/new.html.erb +0 -18
  252. data/app/views/spree/admin/search/products.rabl +0 -9
  253. data/app/views/spree/admin/search/users.rabl +0 -30
  254. data/app/views/spree/admin/shared/_areas_tabs.html.erb +0 -19
  255. data/app/views/spree/admin/states/_form.html.erb +0 -14
  256. data/app/views/spree/admin/states/_state_list.html.erb +0 -33
  257. data/app/views/spree/admin/states/edit.html.erb +0 -19
  258. data/app/views/spree/admin/states/index.html.erb +0 -39
  259. data/app/views/spree/admin/states/new.html.erb +0 -17
  260. data/app/views/spree/admin/style_guide/topics/typography/_tags.html.erb +0 -25
  261. data/app/views/spree/admin/taxons/search.rabl +0 -5
  262. data/app/views/spree/admin/variants/new.js.erb +0 -1
  263. data/spec/features/admin/configuration/countries_spec.rb +0 -22
  264. data/spec/features/admin/configuration/states_spec.rb +0 -64
  265. data/spec/helpers/admin/reimbursements_helper_spec.rb +0 -34
  266. data/vendor/assets/javascripts/solidus_admin/tether.js +0 -1726
  267. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom.scss +0 -4
  268. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_normalize.scss +0 -461
  269. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss +0 -47
  270. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transforms.scss +0 -14
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-12 00:00:00.000000000 Z
11
+ date: 2017-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.1
19
+ version: 2.4.0.beta1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.1
26
+ version: 2.4.0.beta1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.1
33
+ version: 2.4.0.beta1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.3.1
40
+ version: 2.4.0.beta1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sass-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +128,40 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '4.0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: kaminari
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0.17'
138
+ - - "<"
139
+ - !ruby/object:Gem::Version
140
+ version: '2.0'
141
+ type: :runtime
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0.17'
148
+ - - "<"
149
+ - !ruby/object:Gem::Version
150
+ version: '2.0'
151
+ - !ruby/object:Gem::Dependency
152
+ name: jbuilder
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '2.6'
158
+ type: :runtime
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '2.6'
131
165
  - !ruby/object:Gem::Dependency
132
166
  name: handlebars_assets
133
167
  requirement: !ruby/object:Gem::Requirement
@@ -142,6 +176,20 @@ dependencies:
142
176
  - - "~>"
143
177
  - !ruby/object:Gem::Version
144
178
  version: '0.23'
179
+ - !ruby/object:Gem::Dependency
180
+ name: autoprefixer-rails
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - "~>"
184
+ - !ruby/object:Gem::Version
185
+ version: '7.1'
186
+ type: :runtime
187
+ prerelease: false
188
+ version_requirements: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - "~>"
191
+ - !ruby/object:Gem::Version
192
+ version: '7.1'
145
193
  description: Admin interface for the Solidus e-commerce framework.
146
194
  email: contact@solidus.io
147
195
  executables: []
@@ -271,6 +319,7 @@ files:
271
319
  - app/assets/stylesheets/spree/backend/components/_navigation.scss
272
320
  - app/assets/stylesheets/spree/backend/components/_number_field_update.scss
273
321
  - app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
322
+ - app/assets/stylesheets/spree/backend/components/_pills.scss
274
323
  - app/assets/stylesheets/spree/backend/components/_progress.scss
275
324
  - app/assets/stylesheets/spree/backend/components/_sidebar.scss
276
325
  - app/assets/stylesheets/spree/backend/components/_states.scss
@@ -307,7 +356,6 @@ files:
307
356
  - app/assets/stylesheets/spree/backend/shared/_icons.scss
308
357
  - app/assets/stylesheets/spree/backend/shared/_images.scss
309
358
  - app/assets/stylesheets/spree/backend/shared/_layout.scss
310
- - app/assets/stylesheets/spree/backend/shared/_skeleton.scss
311
359
  - app/assets/stylesheets/spree/backend/shared/_tables.scss
312
360
  - app/assets/stylesheets/spree/backend/shared/_typography.scss
313
361
  - app/assets/stylesheets/spree/backend/shared/_utilities.scss
@@ -317,7 +365,6 @@ files:
317
365
  - app/controllers/spree/admin/adjustments_controller.rb
318
366
  - app/controllers/spree/admin/base_controller.rb
319
367
  - app/controllers/spree/admin/cancellations_controller.rb
320
- - app/controllers/spree/admin/countries_controller.rb
321
368
  - app/controllers/spree/admin/customer_returns_controller.rb
322
369
  - app/controllers/spree/admin/dashboards_controller.rb
323
370
  - app/controllers/spree/admin/general_settings_controller.rb
@@ -352,7 +399,6 @@ files:
352
399
  - app/controllers/spree/admin/search_controller.rb
353
400
  - app/controllers/spree/admin/shipping_categories_controller.rb
354
401
  - app/controllers/spree/admin/shipping_methods_controller.rb
355
- - app/controllers/spree/admin/states_controller.rb
356
402
  - app/controllers/spree/admin/stock_items_controller.rb
357
403
  - app/controllers/spree/admin/stock_locations_controller.rb
358
404
  - app/controllers/spree/admin/stock_movements_controller.rb
@@ -379,7 +425,6 @@ files:
379
425
  - app/helpers/spree/admin/payments_helper.rb
380
426
  - app/helpers/spree/admin/products_helper.rb
381
427
  - app/helpers/spree/admin/reimbursement_type_helper.rb
382
- - app/helpers/spree/admin/reimbursements_helper.rb
383
428
  - app/helpers/spree/admin/stock_locations_helper.rb
384
429
  - app/helpers/spree/admin/stock_movements_helper.rb
385
430
  - app/helpers/spree/admin/stock_transfers_helper.rb
@@ -406,10 +451,6 @@ files:
406
451
  - app/views/spree/admin/adjustments/index.html.erb
407
452
  - app/views/spree/admin/adjustments/new.html.erb
408
453
  - app/views/spree/admin/cancellations/index.html.erb
409
- - app/views/spree/admin/countries/_form.html.erb
410
- - app/views/spree/admin/countries/edit.html.erb
411
- - app/views/spree/admin/countries/index.html.erb
412
- - app/views/spree/admin/countries/new.html.erb
413
454
  - app/views/spree/admin/customer_returns/_reimbursements_table.html.erb
414
455
  - app/views/spree/admin/customer_returns/_return_item_decision.html.erb
415
456
  - app/views/spree/admin/customer_returns/_return_item_selection.html.erb
@@ -554,11 +595,10 @@ files:
554
595
  - app/views/spree/admin/return_reasons/edit.html.erb
555
596
  - app/views/spree/admin/return_reasons/index.html.erb
556
597
  - app/views/spree/admin/return_reasons/new.html.erb
557
- - app/views/spree/admin/search/products.rabl
558
- - app/views/spree/admin/search/users.rabl
598
+ - app/views/spree/admin/search/products.json.jbuilder
599
+ - app/views/spree/admin/search/users.json.jbuilder
559
600
  - app/views/spree/admin/shared/_address.html.erb
560
601
  - app/views/spree/admin/shared/_address_form.html.erb
561
- - app/views/spree/admin/shared/_areas_tabs.html.erb
562
602
  - app/views/spree/admin/shared/_calculator_fields.html.erb
563
603
  - app/views/spree/admin/shared/_configuration_menu.html.erb
564
604
  - app/views/spree/admin/shared/_destroy.js.erb
@@ -570,6 +610,7 @@ files:
570
610
  - app/views/spree/admin/shared/_image.html.erb
571
611
  - app/views/spree/admin/shared/_js_locale_data.html.erb
572
612
  - app/views/spree/admin/shared/_menu.html.erb
613
+ - app/views/spree/admin/shared/_modal.html.erb
573
614
  - app/views/spree/admin/shared/_navigation.html.erb
574
615
  - app/views/spree/admin/shared/_navigation_footer.html.erb
575
616
  - app/views/spree/admin/shared/_navigation_header.html.erb
@@ -602,6 +643,12 @@ files:
602
643
  - app/views/spree/admin/shared/named_types/_form.html.erb
603
644
  - app/views/spree/admin/shared/named_types/_index.html.erb
604
645
  - app/views/spree/admin/shared/named_types/_new.html.erb
646
+ - app/views/spree/admin/shared/preference_fields/_boolean.html.erb
647
+ - app/views/spree/admin/shared/preference_fields/_decimal.html.erb
648
+ - app/views/spree/admin/shared/preference_fields/_integer.html.erb
649
+ - app/views/spree/admin/shared/preference_fields/_password.html.erb
650
+ - app/views/spree/admin/shared/preference_fields/_string.html.erb
651
+ - app/views/spree/admin/shared/preference_fields/_text.html.erb
605
652
  - app/views/spree/admin/shipping_categories/_form.html.erb
606
653
  - app/views/spree/admin/shipping_categories/edit.html.erb
607
654
  - app/views/spree/admin/shipping_categories/index.html.erb
@@ -610,11 +657,6 @@ files:
610
657
  - app/views/spree/admin/shipping_methods/edit.html.erb
611
658
  - app/views/spree/admin/shipping_methods/index.html.erb
612
659
  - app/views/spree/admin/shipping_methods/new.html.erb
613
- - app/views/spree/admin/states/_form.html.erb
614
- - app/views/spree/admin/states/_state_list.html.erb
615
- - app/views/spree/admin/states/edit.html.erb
616
- - app/views/spree/admin/states/index.html.erb
617
- - app/views/spree/admin/states/new.html.erb
618
660
  - app/views/spree/admin/stock_items/_stock_management.html.erb
619
661
  - app/views/spree/admin/stock_items/destroy.js.erb
620
662
  - app/views/spree/admin/stock_items/index.html.erb
@@ -644,6 +686,8 @@ files:
644
686
  - app/views/spree/admin/stores/index.html.erb
645
687
  - app/views/spree/admin/stores/new.html.erb
646
688
  - app/views/spree/admin/style_guide/index.html.erb
689
+ - app/views/spree/admin/style_guide/topics/components/_modals.html.erb
690
+ - app/views/spree/admin/style_guide/topics/components/_pills.html.erb
647
691
  - app/views/spree/admin/style_guide/topics/components/_tabs.html.erb
648
692
  - app/views/spree/admin/style_guide/topics/forms/_building_forms.html.erb
649
693
  - app/views/spree/admin/style_guide/topics/forms/_buttons.html.erb
@@ -664,7 +708,6 @@ files:
664
708
  - app/views/spree/admin/style_guide/topics/typography/_fonts.html.erb
665
709
  - app/views/spree/admin/style_guide/topics/typography/_icons.html.erb
666
710
  - app/views/spree/admin/style_guide/topics/typography/_lists.html.erb
667
- - app/views/spree/admin/style_guide/topics/typography/_tags.html.erb
668
711
  - app/views/spree/admin/tax_categories/_form.html.erb
669
712
  - app/views/spree/admin/tax_categories/edit.html.erb
670
713
  - app/views/spree/admin/tax_categories/index.html.erb
@@ -683,7 +726,7 @@ files:
683
726
  - app/views/spree/admin/taxons/_form.html.erb
684
727
  - app/views/spree/admin/taxons/edit.html.erb
685
728
  - app/views/spree/admin/taxons/index.html.erb
686
- - app/views/spree/admin/taxons/search.rabl
729
+ - app/views/spree/admin/taxons/search.json.jbuilder
687
730
  - app/views/spree/admin/users/_addresses_form.html.erb
688
731
  - app/views/spree/admin/users/_form.html.erb
689
732
  - app/views/spree/admin/users/_sidebar.html.erb
@@ -701,7 +744,6 @@ files:
701
744
  - app/views/spree/admin/variants/edit.html.erb
702
745
  - app/views/spree/admin/variants/index.html.erb
703
746
  - app/views/spree/admin/variants/new.html.erb
704
- - app/views/spree/admin/variants/new.js.erb
705
747
  - app/views/spree/admin/variants/update.js.erb
706
748
  - app/views/spree/admin/zones/_country_members.html.erb
707
749
  - app/views/spree/admin/zones/_form.html.erb
@@ -752,10 +794,8 @@ files:
752
794
  - spec/controllers/spree/admin/store_credits_controller_spec.rb
753
795
  - spec/controllers/spree/admin/users_controller_spec.rb
754
796
  - spec/controllers/spree/admin/variants_controller_spec.rb
755
- - spec/features/admin/configuration/countries_spec.rb
756
797
  - spec/features/admin/configuration/payment_methods_spec.rb
757
798
  - spec/features/admin/configuration/shipping_methods_spec.rb
758
- - spec/features/admin/configuration/states_spec.rb
759
799
  - spec/features/admin/configuration/stock_locations_spec.rb
760
800
  - spec/features/admin/configuration/store_spec.rb
761
801
  - spec/features/admin/configuration/tax_categories_spec.rb
@@ -800,12 +840,12 @@ files:
800
840
  - spec/features/admin/reports_spec.rb
801
841
  - spec/features/admin/stock_transfer_spec.rb
802
842
  - spec/features/admin/store_credits_spec.rb
843
+ - spec/features/admin/stores_spec.rb
803
844
  - spec/features/admin/style_guide_spec.rb
804
845
  - spec/features/admin/taxons_spec.rb
805
846
  - spec/features/admin/users_spec.rb
806
847
  - spec/helpers/admin/base_helper_spec.rb
807
848
  - spec/helpers/admin/navigation_helper_spec.rb
808
- - spec/helpers/admin/reimbursements_helper_spec.rb
809
849
  - spec/helpers/admin/stock_movements_helper_spec.rb
810
850
  - spec/helpers/admin/store_credit_events_helper_spec.rb
811
851
  - spec/helpers/promotion_rules_helper_spec.rb
@@ -849,6 +889,7 @@ files:
849
889
  - vendor/assets/javascripts/solidus_admin/backbone.js
850
890
  - vendor/assets/javascripts/solidus_admin/bind-polyfill.js
851
891
  - vendor/assets/javascripts/solidus_admin/bootstrap.js
892
+ - vendor/assets/javascripts/solidus_admin/popover.js
852
893
  - vendor/assets/javascripts/solidus_admin/select2.js
853
894
  - vendor/assets/javascripts/solidus_admin/select2_locales/index.js
854
895
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_ar.js
@@ -896,7 +937,6 @@ files:
896
937
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_vi.js
897
938
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-CN.js
898
939
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_zh-TW.js
899
- - vendor/assets/javascripts/solidus_admin/tether.js
900
940
  - vendor/assets/javascripts/solidus_admin/underscore.js
901
941
  - vendor/assets/stylesheets/jquery-ui.datepicker.css.erb
902
942
  - vendor/assets/stylesheets/prism.css
@@ -910,9 +950,9 @@ files:
910
950
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_close.scss
911
951
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_code.scss
912
952
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_custom-forms.scss
913
- - vendor/assets/stylesheets/solidus_admin/bootstrap/_custom.scss
914
953
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_dropdown.scss
915
954
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_forms.scss
955
+ - vendor/assets/stylesheets/solidus_admin/bootstrap/_functions.scss
916
956
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss
917
957
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_images.scss
918
958
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_input-group.scss
@@ -923,13 +963,11 @@ files:
923
963
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_modal.scss
924
964
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_nav.scss
925
965
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_navbar.scss
926
- - vendor/assets/stylesheets/solidus_admin/bootstrap/_normalize.scss
927
966
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss
928
967
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_popover.scss
929
968
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_print.scss
930
969
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_progress.scss
931
970
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_reboot.scss
932
- - vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
933
971
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_tables.scss
934
972
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_tooltip.scss
935
973
  - vendor/assets/stylesheets/solidus_admin/bootstrap/_transitions.scss
@@ -943,9 +981,9 @@ files:
943
981
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
944
982
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_badge.scss
945
983
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_border-radius.scss
984
+ - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_box-shadow.scss
946
985
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_breakpoints.scss
947
986
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_buttons.scss
948
- - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss
949
987
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_clearfix.scss
950
988
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_float.scss
951
989
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_forms.scss
@@ -967,13 +1005,14 @@ files:
967
1005
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-emphasis.scss
968
1006
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-hide.scss
969
1007
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-truncate.scss
970
- - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transforms.scss
1008
+ - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transition.scss
971
1009
  - vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_visibility.scss
972
1010
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_align.scss
973
1011
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_background.scss
974
1012
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_borders.scss
975
1013
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_clearfix.scss
976
1014
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_display.scss
1015
+ - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_embed.scss
977
1016
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_flex.scss
978
1017
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_float.scss
979
1018
  - vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_position.scss
@@ -1,242 +0,0 @@
1
- /*
2
- * Skeleton V1.2
3
- * Copyright 2011, Dave Gamache
4
- * www.getskeleton.com
5
- * Free to use under the MIT license.
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * 6/20/2012
8
- */
9
-
10
-
11
- /* Table of Contents
12
- ==================================================
13
- #Base 960 Grid
14
- #Tablet (Portrait)
15
- #Mobile (Portrait)
16
- #Mobile (Landscape)
17
- #Clearing */
18
-
19
-
20
-
21
- /* #Base 960 Grid
22
- ================================================== */
23
-
24
- .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
25
- .container .column,
26
- .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
27
- .row { margin-bottom: 20px; }
28
-
29
- /* Nested Column Classes */
30
- .column.alpha, .columns.alpha { margin-left: 0; }
31
- .column.omega, .columns.omega { margin-right: 0; }
32
-
33
- /* Base Grid */
34
- .container .one.column,
35
- .container .one.columns { width: 40px; }
36
- .container .two.columns { width: 100px; }
37
- .container .three.columns { width: 160px; }
38
- .container .four.columns { width: 220px; }
39
- .container .five.columns { width: 280px; }
40
- .container .six.columns { width: 340px; }
41
- .container .seven.columns { width: 400px; }
42
- .container .eight.columns { width: 460px; }
43
- .container .nine.columns { width: 520px; }
44
- .container .ten.columns { width: 580px; }
45
- .container .eleven.columns { width: 640px; }
46
- .container .twelve.columns { width: 700px; }
47
- .container .thirteen.columns { width: 760px; }
48
- .container .fourteen.columns { width: 820px; }
49
- .container .fifteen.columns { width: 880px; }
50
- .container .sixteen.columns { width: 940px; }
51
-
52
- .container .one-third.column { width: 300px; }
53
- .container .two-thirds.column { width: 620px; }
54
-
55
- /* Offsets */
56
- .container .offset-by-one { padding-left: 60px; }
57
- .container .offset-by-two { padding-left: 120px; }
58
- .container .offset-by-three { padding-left: 180px; }
59
- .container .offset-by-four { padding-left: 240px; }
60
- .container .offset-by-five { padding-left: 300px; }
61
- .container .offset-by-six { padding-left: 360px; }
62
- .container .offset-by-seven { padding-left: 420px; }
63
- .container .offset-by-eight { padding-left: 480px; }
64
- .container .offset-by-nine { padding-left: 540px; }
65
- .container .offset-by-ten { padding-left: 600px; }
66
- .container .offset-by-eleven { padding-left: 660px; }
67
- .container .offset-by-twelve { padding-left: 720px; }
68
- .container .offset-by-thirteen { padding-left: 780px; }
69
- .container .offset-by-fourteen { padding-left: 840px; }
70
- .container .offset-by-fifteen { padding-left: 900px; }
71
-
72
-
73
-
74
- /* #Tablet (Portrait)
75
- ================================================== */
76
-
77
- /* Note: Design for a width of 768px */
78
-
79
- @media only screen and (min-width: 768px + $width-sidebar) and (max-width: 959px + $width-sidebar) {
80
- .container { width: 768px; }
81
- .container .column,
82
- .container .columns { margin-left: 10px; margin-right: 10px; }
83
- .column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
84
- .column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
85
- .alpha.omega { margin-left: 0; margin-right: 0; }
86
-
87
- .container .one.column,
88
- .container .one.columns { width: 28px; }
89
- .container .two.columns { width: 76px; }
90
- .container .three.columns { width: 124px; }
91
- .container .four.columns { width: 172px; }
92
- .container .five.columns { width: 220px; }
93
- .container .six.columns { width: 268px; }
94
- .container .seven.columns { width: 316px; }
95
- .container .eight.columns { width: 364px; }
96
- .container .nine.columns { width: 412px; }
97
- .container .ten.columns { width: 460px; }
98
- .container .eleven.columns { width: 508px; }
99
- .container .twelve.columns { width: 556px; }
100
- .container .thirteen.columns { width: 604px; }
101
- .container .fourteen.columns { width: 652px; }
102
- .container .fifteen.columns { width: 700px; }
103
- .container .sixteen.columns { width: 748px; }
104
-
105
- .container .one-third.column { width: 236px; }
106
- .container .two-thirds.column { width: 492px; }
107
-
108
- /* Offsets */
109
- .container .offset-by-one { padding-left: 48px; }
110
- .container .offset-by-two { padding-left: 96px; }
111
- .container .offset-by-three { padding-left: 144px; }
112
- .container .offset-by-four { padding-left: 192px; }
113
- .container .offset-by-five { padding-left: 240px; }
114
- .container .offset-by-six { padding-left: 288px; }
115
- .container .offset-by-seven { padding-left: 336px; }
116
- .container .offset-by-eight { padding-left: 384px; }
117
- .container .offset-by-nine { padding-left: 432px; }
118
- .container .offset-by-ten { padding-left: 480px; }
119
- .container .offset-by-eleven { padding-left: 528px; }
120
- .container .offset-by-twelve { padding-left: 576px; }
121
- .container .offset-by-thirteen { padding-left: 624px; }
122
- .container .offset-by-fourteen { padding-left: 672px; }
123
- .container .offset-by-fifteen { padding-left: 720px; }
124
- }
125
-
126
-
127
- /* #Mobile (Portrait)
128
- ================================================== */
129
-
130
- /* Note: Design for a width of 320px */
131
-
132
- @media only screen and (max-width: 767px + $width-sidebar) {
133
- .container { width: 300px; }
134
- .container .columns,
135
- .container .column { margin: 0; }
136
-
137
- .container .one.column,
138
- .container .one.columns,
139
- .container .two.columns,
140
- .container .three.columns,
141
- .container .four.columns,
142
- .container .five.columns,
143
- .container .six.columns,
144
- .container .seven.columns,
145
- .container .eight.columns,
146
- .container .nine.columns,
147
- .container .ten.columns,
148
- .container .eleven.columns,
149
- .container .twelve.columns,
150
- .container .thirteen.columns,
151
- .container .fourteen.columns,
152
- .container .fifteen.columns,
153
- .container .sixteen.columns,
154
- .container .one-third.column,
155
- .container .two-thirds.column { width: 300px; }
156
-
157
- /* Offsets */
158
- .container .offset-by-one,
159
- .container .offset-by-two,
160
- .container .offset-by-three,
161
- .container .offset-by-four,
162
- .container .offset-by-five,
163
- .container .offset-by-six,
164
- .container .offset-by-seven,
165
- .container .offset-by-eight,
166
- .container .offset-by-nine,
167
- .container .offset-by-ten,
168
- .container .offset-by-eleven,
169
- .container .offset-by-twelve,
170
- .container .offset-by-thirteen,
171
- .container .offset-by-fourteen,
172
- .container .offset-by-fifteen { padding-left: 0; }
173
-
174
- }
175
-
176
-
177
- /* #Mobile (Landscape)
178
- ================================================== */
179
-
180
- /* Note: Design for a width of 480px */
181
-
182
- @media only screen and (min-width: 480px + $width-sidebar) and (max-width: 767px + $width-sidebar) {
183
- .container { width: 420px; }
184
- .container .columns,
185
- .container .column { margin: 0; }
186
-
187
- .container .one.column,
188
- .container .one.columns,
189
- .container .two.columns,
190
- .container .three.columns,
191
- .container .four.columns,
192
- .container .five.columns,
193
- .container .six.columns,
194
- .container .seven.columns,
195
- .container .eight.columns,
196
- .container .nine.columns,
197
- .container .ten.columns,
198
- .container .eleven.columns,
199
- .container .twelve.columns,
200
- .container .thirteen.columns,
201
- .container .fourteen.columns,
202
- .container .fifteen.columns,
203
- .container .sixteen.columns,
204
- .container .one-third.column,
205
- .container .two-thirds.column { width: 420px; }
206
- }
207
-
208
-
209
- /* #Clearing
210
- ================================================== */
211
-
212
- /* Self Clearing Goodness */
213
- .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
214
-
215
- /* Use clearfix class on parent to clear nested columns,
216
- or wrap each row of columns in a <div class="row"> */
217
- .clearfix:before,
218
- .clearfix:after,
219
- .row:before,
220
- .row:after {
221
- content: '\0020';
222
- display: block;
223
- overflow: hidden;
224
- visibility: hidden;
225
- width: 0;
226
- height: 0; }
227
- .row:after,
228
- .clearfix:after {
229
- clear: both; }
230
- .row,
231
- .clearfix {
232
- zoom: 1; }
233
-
234
- /* You can also use a <br class="clear" /> to clear columns */
235
- .clear {
236
- clear: both;
237
- display: block;
238
- overflow: hidden;
239
- visibility: hidden;
240
- width: 0;
241
- height: 0;
242
- }
@@ -1,9 +0,0 @@
1
- module Spree
2
- module Admin
3
- class CountriesController < ResourceController
4
- def collection
5
- super.order(:name)
6
- end
7
- end
8
- end
9
- end
@@ -1,29 +0,0 @@
1
- module Spree
2
- module Admin
3
- class StatesController < ResourceController
4
- belongs_to 'spree/country'
5
- before_action :load_data
6
-
7
- def index
8
- respond_with(@collection) do |format|
9
- format.html
10
- format.js { render partial: 'state_list' }
11
- end
12
- end
13
-
14
- private
15
-
16
- def location_after_save
17
- admin_country_states_url(@country)
18
- end
19
-
20
- def collection
21
- super.order(:name)
22
- end
23
-
24
- def load_data
25
- @countries = Spree::Country.order(:name)
26
- end
27
- end
28
- end
29
- end
@@ -1,14 +0,0 @@
1
- module Spree
2
- module Admin
3
- module ReimbursementsHelper
4
- def reimbursement_status_color(reimbursement)
5
- case reimbursement.reimbursement_status
6
- when 'reimbursed' then 'success'
7
- when 'pending' then 'notice'
8
- when 'errored' then 'error'
9
- else raise "unknown reimbursement status: #{reimbursement.reimbursement_status}"
10
- end
11
- end
12
- end
13
- end
14
- end
@@ -1,22 +0,0 @@
1
- <div data-hook="admin_country_form_fields" class="row">
2
- <div class="col-5">
3
- <div data-hook="name" class="field">
4
- <%= f.label :name %>
5
- <%= f.text_field :name, class: 'fullwidth' %>
6
- </div>
7
- </div>
8
- <div class="col-5">
9
- <div data-hook="iso_name" class="field">
10
- <%= f.label :iso_name %>
11
- <%= f.text_field :iso_name, class: 'fullwidth' %>
12
- </div>
13
- </div>
14
- <div class="col-2">
15
- <div data-hook="states_required" class="field checkbox">
16
- <label>
17
- <%= f.check_box :states_required %>
18
- <%= Spree::Country.human_attribute_name(:states_required) %>
19
- </label>
20
- </div>
21
- </div>
22
- </div>
@@ -1,19 +0,0 @@
1
- <%= render 'spree/admin/shared/areas_tabs' %>
2
-
3
- <% admin_breadcrumb(Spree.t(:settings)) %>
4
- <% admin_breadcrumb(Spree.t('admin.tab.areas')) %>
5
- <% admin_breadcrumb(link_to plural_resource_name(Spree::Country), spree.admin_countries_path) %>
6
- <% admin_breadcrumb(@country.name) %>
7
-
8
- <% content_for :page_actions do %>
9
- <% end %>
10
-
11
- <%= render partial: 'spree/shared/error_messages', locals: { target: @country } %>
12
-
13
- <%= form_for [:admin, @country] do |f| %>
14
- <fieldset class="no-border-top">
15
- <%= render partial: 'form', locals: { f: f } %>
16
- <div class="clear"></div>
17
- <%= render partial: 'spree/admin/shared/edit_resource_links' %>
18
- </fieldset>
19
- <% end %>