editorial-autogestiva-jekyll-theme 0.2.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/_config.yml +73 -0
  4. data/_data/en.yml +129 -27
  5. data/_data/es.yml +111 -31
  6. data/_data/forms/billing_address.yml +71 -0
  7. data/_data/forms/contacto.yml +2 -2
  8. data/_data/forms/shipping_address.yml +76 -0
  9. data/_data/forms/user.yml +11 -0
  10. data/_data/layouts/book.yml +82 -93
  11. data/_data/layouts/cart.yml +198 -0
  12. data/_data/layouts/confirmation.yml +68 -0
  13. data/_data/layouts/menu.yml +65 -0
  14. data/_data/layouts/payment.yml +114 -0
  15. data/_data/layouts/post.yml +0 -1
  16. data/_data/layouts/shipment.yml +126 -0
  17. data/_includes/cart.svg +1 -0
  18. data/_includes/cart_add.html +8 -0
  19. data/_includes/cart_controller.html +10 -0
  20. data/_includes/contact.html +6 -5
  21. data/_includes/content.html +1 -0
  22. data/_includes/country.html +53 -0
  23. data/_includes/editorial.html +24 -30
  24. data/_includes/file.html +35 -0
  25. data/_includes/floating_alert.html +6 -0
  26. data/_includes/footer.html +10 -8
  27. data/_includes/form/boolean.html +1 -1
  28. data/_includes/form/content.html +1 -0
  29. data/_includes/form/email.html +1 -1
  30. data/_includes/form/file.html +1 -0
  31. data/_includes/form/hidden.html +1 -1
  32. data/_includes/form/image.html +1 -0
  33. data/_includes/form/input.html +1 -1
  34. data/_includes/form/markdown_content.html +1 -0
  35. data/_includes/form/number.html +1 -1
  36. data/_includes/form/predefined_array.html +1 -1
  37. data/_includes/form/section.html +1 -1
  38. data/_includes/form/separator.html +1 -1
  39. data/_includes/form/string.html +1 -1
  40. data/_includes/form/submit.html +1 -1
  41. data/_includes/form/tel.html +1 -0
  42. data/_includes/form/text.html +1 -1
  43. data/_includes/form/url.html +1 -1
  44. data/_includes/image.html +32 -0
  45. data/_includes/input.html +14 -2
  46. data/_includes/item.html +38 -0
  47. data/_includes/markdown_content.html +1 -0
  48. data/_includes/menu.html +27 -0
  49. data/_includes/navbar.html +29 -25
  50. data/_includes/notification.html +5 -0
  51. data/_includes/password.html +1 -0
  52. data/_includes/picture.html +23 -0
  53. data/_includes/postal_code.html +45 -0
  54. data/_includes/preload_font.html +1 -0
  55. data/_includes/search.html +25 -0
  56. data/_includes/share.html +22 -0
  57. data/_includes/share_box.html +16 -0
  58. data/_includes/state.html +53 -0
  59. data/_includes/submit.html +1 -1
  60. data/_includes/tel.html +1 -0
  61. data/_layouts/book.html +42 -84
  62. data/_layouts/cart.html +72 -0
  63. data/_layouts/confirmation.html +15 -0
  64. data/_layouts/default.html +30 -10
  65. data/_layouts/home.html +23 -13
  66. data/_layouts/payment.html +21 -0
  67. data/_layouts/post.html +5 -5
  68. data/_layouts/shipment.html +49 -0
  69. data/_sass/accessibility.scss +37 -0
  70. data/_sass/editor.scss +8 -0
  71. data/_sass/embed.scss +5 -0
  72. data/_sass/floating_alert.scss +10 -0
  73. data/_sass/helpers.scss +318 -0
  74. data/_sass/logic.scss +17 -0
  75. data/_sass/menu.scss +20 -0
  76. data/_sass/share.html +12 -0
  77. data/_sass/share_box.html +16 -0
  78. data/_sass/share_box.scss +26 -0
  79. data/_sass/snap.scss +58 -0
  80. data/_sass/toggler.scss +39 -0
  81. data/assets/css/styles.scss +41 -5
  82. data/assets/data/site.json +24 -0
  83. data/assets/fonts/forkawesome-webfont.woff2 +0 -0
  84. data/assets/js/pack.js +16 -0
  85. data/assets/js/pack.js.map +1 -0
  86. data/assets/js/script.js +44 -0
  87. data/assets/templates/alert.html +7 -0
  88. data/assets/templates/cart.html +65 -0
  89. data/assets/templates/payment_methods.html +41 -0
  90. data/assets/templates/recover_order.html +11 -0
  91. data/assets/templates/results.html +17 -0
  92. data/assets/templates/shipping_methods.html +35 -0
  93. metadata +227 -29
  94. data/README.md.orig +0 -118
  95. data/_includes/contact.html.orig +0 -55
  96. data/_includes/navbar.html.orig +0 -44
  97. data/_sass/home.scss +0 -22
@@ -0,0 +1,11 @@
1
+ <div class="alert alert-{{ type }} alert-dismissible" role="alert" data-controller="cart">
2
+ {{ content }}
3
+
4
+ <button data-action="cart#recover notification#hide" type="button" class="btn btn-primary">
5
+ {{ site.i18n.recover_order }}
6
+ </button>
7
+
8
+ <button data-action="notification#hide" type="button" class="close" aria-label="{{ site.i18n.close }}">
9
+ <span aria-hidden="true">&times;</span>
10
+ </button>
11
+ </div>
@@ -0,0 +1,17 @@
1
+ <section class="row no-gutters justify-content-center">
2
+ <div class="col-10">
3
+ {% for item in results %}
4
+ <article id="{{ item.slug }}">
5
+ <header>
6
+ <h2>
7
+ <a href="{{ item.url }}">
8
+ {{ item.title }}
9
+ </a>
10
+ </h2>
11
+ </header>
12
+
13
+ <p class="lead">{{ item.description }}</p>
14
+ </article>
15
+ {% endfor %}
16
+ </div>
17
+ </section>
@@ -0,0 +1,35 @@
1
+ <form data-action="cart-shipping#payment"
2
+ data-target="cart-shipping.rates">
3
+ <input type="hidden" name="id" value="{{ shipping_method.id }}" />
4
+
5
+ <div class="row no-gutters justify-content-center">
6
+ {% for shipping_rate in shipping_rates %}
7
+ <div class="col-12">
8
+ <div class="custom-control custom-radio mt-3">
9
+ <input
10
+ class="custom-control-input"
11
+ type="radio"
12
+ {% if shipping_rate.attributes.selected %}
13
+ checked
14
+ {% endif %}
15
+ name="selected_shipping_rate_id"
16
+ id="order_shipments_attributes_selected_shipping_rate_id_{{ shipping_rate.id }}"
17
+ value="{{ shipping_rate.id }}"
18
+ />
19
+
20
+ <label
21
+ class="font-weight-bold custom-control-label"
22
+ for="order_shipments_attributes_selected_shipping_rate_id_{{ shipping_rate.id }}">
23
+ <span class="lead">{{ shipping_rate.attributes.name }}</span>
24
+ <br/>
25
+ {{ shipping_rate.attributes.display_cost }}
26
+ </label>
27
+ </div>
28
+ </div>
29
+ {% endfor %}
30
+
31
+ <div class="col-12 mt-3">
32
+ <input type="submit" class="btn btn-block btn-success" value="{{ site.shipment.next_step }}" />
33
+ </div>
34
+ </div>
35
+ </form>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editorial-autogestiva-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-27 00:00:00.000000000 Z
11
+ date: 2021-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,72 +16,184 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '4'
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: '4.0'
26
+ version: '4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-relative-urls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.0'
33
+ version: '0'
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: '0.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jekyll-feed
42
+ name: jekyll-seo-tag
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.9'
47
+ version: '2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.9'
54
+ version: '2'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jekyll-seo-tag
56
+ name: jekyll-images
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.1'
61
+ version: '0.2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.1'
68
+ version: '0.2'
69
69
  - !ruby/object:Gem::Dependency
70
- name: jekyll-images
70
+ name: jekyll-include-cache
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.2'
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-data
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: jekyll-locales
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.1'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jekyll-linked-posts
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: jekyll-order
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sutty-liquid
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: jekyll-commonmark
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.3'
76
160
  type: :runtime
77
161
  prerelease: false
78
162
  version_requirements: !ruby/object:Gem::Requirement
79
163
  requirements:
80
164
  - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.3'
167
+ - !ruby/object:Gem::Dependency
168
+ name: jekyll-dotenv
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0.2'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
81
179
  - !ruby/object:Gem::Version
82
180
  version: '0.2'
83
181
  - !ruby/object:Gem::Dependency
84
- name: jekyll-include-cache
182
+ name: jekyll-feed
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.15'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.15'
195
+ - !ruby/object:Gem::Dependency
196
+ name: jekyll-spree-client
85
197
  requirement: !ruby/object:Gem::Requirement
86
198
  requirements:
87
199
  - - "~>"
@@ -95,47 +207,61 @@ dependencies:
95
207
  - !ruby/object:Gem::Version
96
208
  version: '0'
97
209
  - !ruby/object:Gem::Dependency
98
- name: jekyll-data
210
+ name: jekyll-write-and-commit-changes
99
211
  requirement: !ruby/object:Gem::Requirement
100
212
  requirements:
101
213
  - - "~>"
102
214
  - !ruby/object:Gem::Version
103
- version: '1.1'
215
+ version: '0'
104
216
  type: :runtime
105
217
  prerelease: false
106
218
  version_requirements: !ruby/object:Gem::Requirement
107
219
  requirements:
108
220
  - - "~>"
109
221
  - !ruby/object:Gem::Version
110
- version: '1.1'
222
+ version: '0'
111
223
  - !ruby/object:Gem::Dependency
112
- name: jekyll-locales
224
+ name: jekyll-ignore-layouts
113
225
  requirement: !ruby/object:Gem::Requirement
114
226
  requirements:
115
227
  - - "~>"
116
228
  - !ruby/object:Gem::Version
117
- version: '0.1'
229
+ version: '0'
118
230
  type: :runtime
119
231
  prerelease: false
120
232
  version_requirements: !ruby/object:Gem::Requirement
121
233
  requirements:
122
234
  - - "~>"
123
235
  - !ruby/object:Gem::Version
124
- version: '0.1'
236
+ version: '0'
125
237
  - !ruby/object:Gem::Dependency
126
- name: jekyll-liquify-alt
238
+ name: jekyll-hardlinks
127
239
  requirement: !ruby/object:Gem::Requirement
128
240
  requirements:
129
241
  - - "~>"
130
242
  - !ruby/object:Gem::Version
131
- version: '0.1'
243
+ version: '0'
132
244
  type: :runtime
133
245
  prerelease: false
134
246
  version_requirements: !ruby/object:Gem::Requirement
135
247
  requirements:
136
248
  - - "~>"
137
249
  - !ruby/object:Gem::Version
138
- version: '0.1'
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: jekyll-unique-urls
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
139
265
  - !ruby/object:Gem::Dependency
140
266
  name: bundler
141
267
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +290,20 @@ dependencies:
164
290
  - - "~>"
165
291
  - !ruby/object:Gem::Version
166
292
  version: '12.0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: pry
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
167
307
  description:
168
308
  email:
169
309
  - f@sutty.nl
@@ -175,59 +315,117 @@ extra_rdoc_files:
175
315
  files:
176
316
  - LICENSE.txt
177
317
  - README.md
178
- - README.md.orig
318
+ - _config.yml
179
319
  - _data/en.yml
180
320
  - _data/es.yml
321
+ - _data/forms/billing_address.yml
181
322
  - _data/forms/contacto.yml
182
323
  - _data/forms/contacto.yml~
324
+ - _data/forms/shipping_address.yml
325
+ - _data/forms/user.yml
183
326
  - _data/layouts/book.yml
327
+ - _data/layouts/cart.yml
328
+ - _data/layouts/confirmation.yml
184
329
  - _data/layouts/editorial.yml
330
+ - _data/layouts/menu.yml
331
+ - _data/layouts/payment.yml
185
332
  - _data/layouts/post.yml
333
+ - _data/layouts/shipment.yml
186
334
  - _includes/boolean.html
335
+ - _includes/cart.svg
336
+ - _includes/cart_add.html
337
+ - _includes/cart_controller.html
187
338
  - _includes/contact.html
188
- - _includes/contact.html.orig
339
+ - _includes/content.html
340
+ - _includes/country.html
189
341
  - _includes/editorial.html
190
342
  - _includes/email.html
343
+ - _includes/file.html
344
+ - _includes/floating_alert.html
191
345
  - _includes/footer.html
192
346
  - _includes/form/boolean.html
347
+ - _includes/form/content.html
193
348
  - _includes/form/email.html
349
+ - _includes/form/file.html
194
350
  - _includes/form/hidden.html
351
+ - _includes/form/image.html
195
352
  - _includes/form/input.html
353
+ - _includes/form/markdown_content.html
196
354
  - _includes/form/number.html
197
355
  - _includes/form/predefined_array.html
198
356
  - _includes/form/section.html
199
357
  - _includes/form/separator.html
200
358
  - _includes/form/string.html
201
359
  - _includes/form/submit.html
360
+ - _includes/form/tel.html
202
361
  - _includes/form/text.html
203
362
  - _includes/form/url.html
204
363
  - _includes/hidden.html
364
+ - _includes/image.html
205
365
  - _includes/input.html
366
+ - _includes/item.html
367
+ - _includes/markdown_content.html
368
+ - _includes/menu.html
206
369
  - _includes/navbar.html
207
- - _includes/navbar.html.orig
370
+ - _includes/notification.html
208
371
  - _includes/number.html
372
+ - _includes/password.html
373
+ - _includes/picture.html
374
+ - _includes/postal_code.html
209
375
  - _includes/predefined_array.html
376
+ - _includes/preload_font.html
377
+ - _includes/search.html
210
378
  - _includes/section.html
211
379
  - _includes/separator.html
380
+ - _includes/share.html
381
+ - _includes/share_box.html
382
+ - _includes/state.html
212
383
  - _includes/string.html
213
384
  - _includes/submit.html
385
+ - _includes/tel.html
214
386
  - _includes/text.html
215
387
  - _includes/url.html
216
388
  - _layouts/book.html
389
+ - _layouts/cart.html
390
+ - _layouts/confirmation.html
217
391
  - _layouts/default.html
218
392
  - _layouts/editorial.html
219
393
  - _layouts/home.html
394
+ - _layouts/payment.html
220
395
  - _layouts/post.html
396
+ - _layouts/shipment.html
397
+ - _sass/accessibility.scss
398
+ - _sass/editor.scss
221
399
  - _sass/editorial.scss
400
+ - _sass/embed.scss
401
+ - _sass/floating_alert.scss
222
402
  - _sass/footer.scss
223
- - _sass/home.scss
403
+ - _sass/helpers.scss
404
+ - _sass/logic.scss
405
+ - _sass/menu.scss
224
406
  - _sass/navbar.scss
407
+ - _sass/share.html
408
+ - _sass/share_box.html
409
+ - _sass/share_box.scss
410
+ - _sass/snap.scss
411
+ - _sass/toggler.scss
225
412
  - _sass/typography.scss
226
413
  - assets/css/styles.scss
414
+ - assets/data/site.json
227
415
  - assets/fonts/Inter-Bold-subset.woff2
228
416
  - assets/fonts/Inter-BoldItalic-subset.woff2
229
417
  - assets/fonts/Inter-Italic-subset.woff2
230
418
  - assets/fonts/Inter-Regular-subset.woff2
419
+ - assets/fonts/forkawesome-webfont.woff2
420
+ - assets/js/pack.js
421
+ - assets/js/pack.js.map
422
+ - assets/js/script.js
423
+ - assets/templates/alert.html
424
+ - assets/templates/cart.html
425
+ - assets/templates/payment_methods.html
426
+ - assets/templates/recover_order.html
427
+ - assets/templates/results.html
428
+ - assets/templates/shipping_methods.html
231
429
  homepage: https://0xacab.org/sutty/jekyll/editorial-autogestiva-jekyll-theme
232
430
  licenses:
233
431
  - Nonstandard
@@ -259,7 +457,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
457
  - !ruby/object:Gem::Version
260
458
  version: '0'
261
459
  requirements: []
262
- rubygems_version: 3.0.3
460
+ rubygems_version: 3.1.2
263
461
  signing_key:
264
462
  specification_version: 4
265
463
  summary: Una plantilla para editoriales autogestivas