wickes-css2 2.94.0-billie.3 → 2.94.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/components/loader.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -0
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +55 -8
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/my-orders.min.js +1 -0
- package/build/js/page/basket-v2.js +0 -14
- package/build/js/page/checkout-payment-details.js +0 -3
- package/build/js/page/components/order-summary.js +1 -9
- package/build/js/page/components/voucher.js +1 -1
- package/build/js/page/my-orders.js +165 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +10 -2
- package/src/components/checkout-action.hbs +11 -14
- package/src/components/checkout-payment-details-v2.hbs +54 -100
- package/src/components/checkout_order-summary-new.hbs +3 -5
- package/src/components/checkout_voucher_large.hbs +16 -20
- package/src/components/flatpickr-calendar.hbs +26 -0
- package/src/components/my-account/active-orders/header.hbs +6 -2
- package/src/components/my-account/active-orders/list-orders.hbs +14 -2
- package/src/components/my-account/active-orders/order-header.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +10 -6
- package/src/components/my-account/clipboard-code-card.hbs +1 -1
- package/src/components/my-account/empty-orders.hbs +9 -0
- package/src/components/my-account/mobile-nav.hbs +23 -19
- package/src/components/my-account/orders-nav.hbs +15 -0
- package/src/components/my-account/sort-by.hbs +3 -0
- package/src/components/my-account/user-account-actions.hbs +1 -1
- package/src/components/order-summary.hbs +56 -91
- package/src/components/payment-loader.hbs +0 -4
- package/src/data/footer_menu.json +0 -4
- package/src/data/my-account/data_my-orders.json +246 -0
- package/src/elements/dropdown.hbs +1 -1
- package/src/js/components/flatpickr.js +167 -0
- package/src/js/components/general/handleAccordion.js +35 -0
- package/src/js/components/general/is-trade-pro.js +1 -15
- package/src/js/emulation/basket-data.js +3 -3
- package/src/js/emulation/mock.js +10 -0
- package/src/js/emulation/my-orders-local.js +41 -0
- package/src/js/emulation/paymentLoader.js +1 -5
- package/src/js/page/basket-v2.js +0 -14
- package/src/js/page/checkout-payment-details.js +0 -3
- package/src/js/page/components/order-summary.js +1 -9
- package/src/js/page/components/voucher.js +1 -1
- package/src/js/page/my-orders.js +165 -0
- package/src/layouts/basket-new.hbs +1 -1
- package/src/page_my-orders-empty.html +49 -0
- package/src/page_my-orders.html +64 -0
- package/src/page_shopping-cart-v2.html +16 -6
- package/src/scss/components/_checkout-action.scss +6 -132
- package/src/scss/components/_order-summary.scss +179 -260
- package/src/scss/components/_payments-v2.scss +0 -8
- package/src/scss/components/checkout-payment-details-v2.scss +0 -67
- package/src/scss/components/loader.scss +0 -8
- package/src/scss/components/my-account/_active-orders.scss +263 -0
- package/src/scss/components/my-account/_orders-nav.scss +61 -0
- package/src/scss/helpers/_variables.scss +1 -2
- package/src/scss/libs/flatpickr.scss +235 -0
- package/src/scss/main.scss +0 -1
- package/src/scss/pages/_checkout-widget.scss +35 -48
- package/src/scss/pages/my-account-v2.scss +1 -136
- package/src/scss/pages/page_checkout_delivery-new.scss +10 -110
- package/src/scss/pages/page_my-orders.scss +232 -0
- package/src/scss/pages/page_products-list-combined.scss +0 -1
- package/src/scss/pages/page_products-list.scss +0 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +33 -94
- package/src/sitemap.html +2 -17
- package/build/img/billie-spinner.svg +0 -5
- package/build/img/payment/footer/billie.svg +0 -4
- package/build/js/page/basket/summary-mobile.js +0 -17
- package/build/js/page/components/sticky-order-observer.js +0 -49
- package/src/components/checkout-payment-info-block.hbs +0 -47
- package/src/components/checkout-payment-option.hbs +0 -40
- package/src/components/checkout-voucher-accordion.hbs +0 -15
- package/src/components/summary-mobile-bar.hbs +0 -17
- package/src/img/billie-spinner.svg +0 -5
- package/src/img/payment/footer/billie.svg +0 -4
- package/src/js/page/basket/summary-mobile.js +0 -17
- package/src/js/page/components/sticky-order-observer.js +0 -49
- package/src/page_payment-details-with-billie.html +0 -66
- package/src/page_product-details-billie.html +0 -86
- package/src/scss/components/_sticky-element-appearance.scss +0 -25
- package/src/scss/components/my-account/_order.scss +0 -112
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickes-css2",
|
|
3
|
-
"version": "2.94.0-
|
|
3
|
+
"version": "2.94.0-develop.10",
|
|
4
4
|
"description": "CSS and JS and page templates in use by Wickes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -108,7 +108,15 @@
|
|
|
108
108
|
"branches": [
|
|
109
109
|
"alt-master",
|
|
110
110
|
{
|
|
111
|
-
"name": "
|
|
111
|
+
"name": "develop",
|
|
112
|
+
"prerelease": true
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "preprod",
|
|
116
|
+
"prerelease": true
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "custom-tag/*",
|
|
112
120
|
"prerelease": "${name.replace(/^custom-tag\\//g, '')}"
|
|
113
121
|
}
|
|
114
122
|
],
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
<div class="checkout-action__wrapper {{
|
|
1
|
+
<div class="checkout-action__wrapper {{mod}}">
|
|
2
2
|
{{#if head}}
|
|
3
3
|
{{> checkout-section-title title=head}}
|
|
4
4
|
{{/if}}
|
|
5
|
-
<div class="checkout-action
|
|
5
|
+
<div class="checkout-action">
|
|
6
6
|
<div class="checkout-action__section">
|
|
7
7
|
<a href="#" class="btn btn_full btn-action btn-checkout">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</span>
|
|
8
|
+
Checkout
|
|
9
|
+
<span class="icon">
|
|
10
|
+
<i class="fas fa-arrow-right"></i>
|
|
11
|
+
</span>
|
|
13
12
|
</a>
|
|
14
13
|
</div>
|
|
15
14
|
<div class="checkout-action__section checkout-widget__basket-block">
|
|
@@ -24,15 +23,13 @@
|
|
|
24
23
|
</div>
|
|
25
24
|
</div>
|
|
26
25
|
</a>
|
|
27
|
-
{{#unless hidePaypalEmail}}
|
|
28
26
|
<div class="pay-pal_container-email">
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
<div class="pay-pal_email-heading">Your PayPal email: </div>
|
|
28
|
+
<div class="pay-pal_email-value">John.doe@gmail.com</div>
|
|
29
|
+
<div class="pay-pal_email-link">
|
|
30
|
+
<a href="#" title="" target="_blank">Don't use this email</a>
|
|
31
|
+
</div>
|
|
34
32
|
</div>
|
|
35
|
-
{{/unless}}
|
|
36
33
|
</div>
|
|
37
34
|
</div>
|
|
38
35
|
</div>
|
|
@@ -4,48 +4,23 @@
|
|
|
4
4
|
<div class="checkout-payment-details__row">
|
|
5
5
|
<div class="checkout-payment-details__descr">
|
|
6
6
|
<h3 class="checkout-payment-details__title">Payment method</h3>
|
|
7
|
-
{{#if
|
|
8
|
-
<div class="form-row">
|
|
9
|
-
<div class="form-row__field form-row__field-billie">
|
|
10
|
-
<label
|
|
11
|
-
class="rbn rbn_align billie-label__rbn"
|
|
12
|
-
for="checkout-payment-details-billie"
|
|
13
|
-
>
|
|
14
|
-
<input
|
|
15
|
-
type="radio"
|
|
16
|
-
id="checkout-payment-details-billie"
|
|
17
|
-
name="payment-method"
|
|
18
|
-
value="billie"
|
|
19
|
-
>
|
|
20
|
-
<ins></ins>
|
|
21
|
-
<div class="billie-badge-container">
|
|
22
|
-
<img
|
|
23
|
-
src="./img/payment/footer/billie.svg"
|
|
24
|
-
alt="Billie Pay Later"
|
|
25
|
-
>
|
|
26
|
-
</div>
|
|
27
|
-
</label>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
{{else if klarna-method}}
|
|
7
|
+
{{#if klarna-method}}
|
|
31
8
|
<div class="form-row">
|
|
32
9
|
<div class="form-row__field form-row__field-klarna">
|
|
33
10
|
<label
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
>
|
|
11
|
+
class="rbn rbn_align klarna-label__rbn"
|
|
12
|
+
for="checkout-payment-details-klarna">
|
|
37
13
|
<input
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
>
|
|
14
|
+
type="radio"
|
|
15
|
+
id="checkout-payment-details-klarna"
|
|
16
|
+
name="payment-method"
|
|
17
|
+
value="klarna">
|
|
43
18
|
<ins></ins>
|
|
44
19
|
<div class="klarna-logo-img">
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
20
|
+
<klarna-placement
|
|
21
|
+
data-key="sidebar-promotion-auto-size"
|
|
22
|
+
data-locale="en-GB"
|
|
23
|
+
></klarna-placement>
|
|
49
24
|
</div>
|
|
50
25
|
</label>
|
|
51
26
|
</div>
|
|
@@ -158,70 +133,50 @@
|
|
|
158
133
|
</div>
|
|
159
134
|
</div>
|
|
160
135
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
ctaButtonLabel="Pay with Klarna"
|
|
189
|
-
ctaButtonClass="klarna__button"
|
|
190
|
-
ctaFooterHtml="By placing your order, you accept our
|
|
191
|
-
<a href='#' class='link-secondary' data-toggle='modal' data-target='#modal-terms-and-conditions'>
|
|
192
|
-
Terms & Conditions of Sale
|
|
193
|
-
</a>"
|
|
194
|
-
}}
|
|
195
|
-
|
|
196
|
-
{{> checkout-payment-info-block
|
|
197
|
-
dataAttr="data-billie"
|
|
198
|
-
blockClass="checkout-payment-details__billie"
|
|
199
|
-
infoClass="billie-info"
|
|
200
|
-
|
|
201
|
-
heading="Get first. Pay later <br> Pay 30 days after shipment"
|
|
202
|
-
brandLogoHtml="<img
|
|
203
|
-
src='https://static.billie.io/badges/Billie_Checkout_Default.svg'
|
|
204
|
-
alt='Billie Pay Later'
|
|
205
|
-
width='70'
|
|
206
|
-
height='35'>"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
listItem1="Billie charges no fee"
|
|
210
|
-
listItem2="No sign up required"
|
|
211
|
-
listItem3="Europes go-to B2B payment service"
|
|
212
|
-
|
|
213
|
-
acceptInfo="By continuing, I accept the
|
|
214
|
-
<a href='#' class='billie-info__link'>Merchant T&Cs of Billie x Klarna Services</a>,
|
|
215
|
-
and confirm that I have read the
|
|
216
|
-
<a href='#' class='billie-info__link'>Billie and Billie Partner Privacy Policies. Imprint</a>"
|
|
136
|
+
<div data-klarna class="checkout-payment-details__klarna" style="display: none;">
|
|
137
|
+
<div class="klarna-info">
|
|
138
|
+
<div class="klarna-info__header">
|
|
139
|
+
<h4 class="klarna-info__header_title">Choose your way to pay</h4>
|
|
140
|
+
<div class="klarna-logo-img-big">
|
|
141
|
+
<klarna-placement
|
|
142
|
+
data-key="sidebar-promotion-auto-size"
|
|
143
|
+
data-locale="en-GB"
|
|
144
|
+
></klarna-placement>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
<ul class="klarna-info__list">
|
|
148
|
+
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Pay in 3. Interest-free.</li>
|
|
149
|
+
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Pay now or Pay in 30 days.</li>
|
|
150
|
+
<li class="klarna-info__list_item"><i class="fa fa-check"></i>Buyer protection included.</li>
|
|
151
|
+
</ul>
|
|
152
|
+
<div class="klarna-info__learn-more">
|
|
153
|
+
<img class="klarna-info__learn-more_icon" src="img/icon_info.png" width="20" height="20" alt="info">
|
|
154
|
+
<klarna-placement
|
|
155
|
+
data-key="top-strip-promotion-auto-size"
|
|
156
|
+
data-locale="en-GB"
|
|
157
|
+
></klarna-placement>
|
|
158
|
+
</div>
|
|
159
|
+
<div class="klarna-info__accept-info">
|
|
160
|
+
By continuing, I accept the terms of the <a href="#" class="klarna-info__link">Klarna Shopping Service</a> and confirm that I have read the <a href="#" class="klarna-info__link">Privacy Notice</a> and <a href="#" class="klarna-info__link">Cookie Notice</a>
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
217
163
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
164
|
+
<div class="form-row form-row__action form-row__action_custom">
|
|
165
|
+
<div class="form-row__col-btn">
|
|
166
|
+
<button class="btn btn-primary btn_full btn-enter-details">
|
|
167
|
+
<span class="btn__text">Pay with Klarna</span>
|
|
168
|
+
</button>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="form-row__col-terms">
|
|
171
|
+
<p>
|
|
172
|
+
By placing your order, you accept our
|
|
173
|
+
<a href="#" class="link-secondary" data-toggle="modal" data-target="#modal-terms-and-conditions">
|
|
174
|
+
Terms & Conditions of Sale
|
|
175
|
+
</a>
|
|
176
|
+
</p>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
225
180
|
|
|
226
181
|
<div data-clearpay class="checkout-payment-details__clearpay" style="display: none;">
|
|
227
182
|
<div class="clearpay-widget">
|
|
@@ -229,7 +184,6 @@
|
|
|
229
184
|
</div>
|
|
230
185
|
</div>
|
|
231
186
|
|
|
232
|
-
|
|
233
187
|
<div class="billing-address">
|
|
234
188
|
{{> checkout-edit-billing-address actionBlock="true" no-set-card="true"}}
|
|
235
189
|
</div>
|
|
@@ -12,13 +12,12 @@
|
|
|
12
12
|
{{/each}}
|
|
13
13
|
{{else}}
|
|
14
14
|
{{#each info}}
|
|
15
|
-
<li class="checkout-widget__item {{#if
|
|
15
|
+
<li class="checkout-widget__item {{#if mod}}checkout-widget__item-{{mod}}{{/if}}">
|
|
16
16
|
<span>{{title}}</span>
|
|
17
17
|
<span class="checkout-widget__item-value">{{value}}</span>
|
|
18
18
|
</li>
|
|
19
19
|
{{/each}}
|
|
20
20
|
{{/if}}
|
|
21
|
-
{{> checkout-voucher-accordion id=id}}
|
|
22
21
|
{{#if discounts}}
|
|
23
22
|
<li class="checkout-widget__accordion-wrap checkout-widget__details-discount">
|
|
24
23
|
<span class="checkout-widget__detail-name checkout-widget__detail-name_accordion collapsed" data-toggle="collapse"
|
|
@@ -36,8 +35,7 @@
|
|
|
36
35
|
</li>
|
|
37
36
|
{{/if}}
|
|
38
37
|
</ul>
|
|
39
|
-
|
|
40
|
-
<div class="checkout-widget__total" data-sticky-observe>
|
|
38
|
+
<div class="checkout-widget__total">
|
|
41
39
|
{{#if confirmationSummary}}
|
|
42
40
|
<div> {{ confirmation-summary.total.title }}</div>
|
|
43
41
|
<div class="checkout-widget__total-value">{{ confirmation-summary.total.value }}</div>
|
|
@@ -46,5 +44,5 @@
|
|
|
46
44
|
<div class="checkout-widget__total-value">{{ total.value }}</div>
|
|
47
45
|
{{/if}}
|
|
48
46
|
</div>
|
|
49
|
-
|
|
47
|
+
|
|
50
48
|
</div>
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
<div class="voucher">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</div>
|
|
13
|
-
{{#unless voucherApplied}}
|
|
14
|
-
<div class="checkout-widget checkout-voucher voucher-applied checkout-voucher-hide">
|
|
15
|
-
<div class="voucher-applied__inner">
|
|
16
|
-
<span class="icon icon__check">
|
|
17
|
-
<i class="fas fa-check-circle"></i>
|
|
18
|
-
</span>
|
|
19
|
-
<h5 class="heading-5 text-center">Voucher has been applied</h5>
|
|
20
|
-
</div>
|
|
2
|
+
{{#if title}}
|
|
3
|
+
{{> checkout-section-title}}
|
|
4
|
+
{{/if}}
|
|
5
|
+
<div class="checkout-widget checkout-voucher checkout-voucher_fixed">
|
|
6
|
+
<form id="form-checkout-voucher{{id}}">
|
|
7
|
+
{{> form-row id=(concat 'voucher-code' id) label="Voucher" label-hidden="true" required="true" placeholder="Enter code"}}
|
|
8
|
+
<button class="voucher__btn btn btn-secondary btn_full">
|
|
9
|
+
<span class="btn__text">Apply</span>
|
|
10
|
+
</button>
|
|
11
|
+
</form>
|
|
21
12
|
</div>
|
|
22
|
-
|
|
13
|
+
{{#unless voucherApplied}}
|
|
14
|
+
<div class="checkout-widget checkout-voucher voucher-applied checkout-voucher-hide">
|
|
15
|
+
<i class="fas fa-check-circle"></i>
|
|
16
|
+
<h3 class="heading-3 text-center">Voucher has been applied</h3>
|
|
17
|
+
</div>
|
|
18
|
+
{{/unless}}
|
|
23
19
|
</div>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<div class="flatpickr-datepicker" choose-date="" show-years="15">
|
|
2
|
+
<label class="flatpickr-datepicker__label">
|
|
3
|
+
Monthly view
|
|
4
|
+
{{> info-icon
|
|
5
|
+
modification="icon-info"
|
|
6
|
+
title=textTooltip
|
|
7
|
+
data-placement="top"
|
|
8
|
+
data-container=".flatpickr-datepicker__label"
|
|
9
|
+
}}
|
|
10
|
+
</label>
|
|
11
|
+
<div class="flatpickr-datepicker__field">
|
|
12
|
+
<input
|
|
13
|
+
type="text"
|
|
14
|
+
class="flatpickr-input"
|
|
15
|
+
id="calendarInputFlatpickr"
|
|
16
|
+
placeholder="Select year and month"
|
|
17
|
+
readonly
|
|
18
|
+
/>
|
|
19
|
+
<span class="icon-wrap icon-wrap--cross" id="crossIcon">
|
|
20
|
+
<i class="far fa-times cross-icon"></i>
|
|
21
|
+
</span>
|
|
22
|
+
<span class="icon-wrap" id="calendarIcon">
|
|
23
|
+
<i class="fas fa-calendar-alt icon-calendar"></i>
|
|
24
|
+
</span>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
<div class="active-orders__header">
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
{{#if title}}
|
|
3
|
+
<h3 class="active-orders__title">{{title}}</h3>
|
|
4
|
+
{{/if}}
|
|
5
|
+
{{#if linkText}}
|
|
6
|
+
<a class="btn btn_full btn-primary btn--all-orders d-none d-sm-block" rel="stylesheet" href="#">{{linkText}}</a>
|
|
7
|
+
{{/if}}
|
|
4
8
|
</div>
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
<div class="active-orders">
|
|
2
|
-
{{
|
|
2
|
+
{{#if title}}
|
|
3
|
+
{{> my-account/active-orders/header}}
|
|
4
|
+
{{/if}}
|
|
3
5
|
|
|
4
6
|
{{#each orders}}
|
|
5
7
|
{{> my-account/active-orders/order switch-vat=../switch-vat}}
|
|
6
8
|
{{/each}}
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
{{#if linkText}}
|
|
11
|
+
<a class="btn btn_full btn-primary btn--all-orders d-sm-none" rel="stylesheet" href="#">{{linkText}}</a>
|
|
12
|
+
{{/if}}
|
|
9
13
|
</div>
|
|
14
|
+
{{#if isLoadMore}}
|
|
15
|
+
<div class="load-more-wrap">
|
|
16
|
+
<input id="numberOfPagesOrders" value="3" type="hidden">
|
|
17
|
+
<button class="btn btn-primary btn-load-more">
|
|
18
|
+
Load more
|
|
19
|
+
</button>
|
|
20
|
+
</div>
|
|
21
|
+
{{/if}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<header class="order-header">
|
|
2
2
|
<h3 class="order-header__title">Order {{orderId}}</h3>
|
|
3
|
-
<div class="order-
|
|
3
|
+
<div class="order-status {{orderStatus.statusClass}}">
|
|
4
4
|
<i class="{{orderStatus.statusIcon}} icon"></i>
|
|
5
5
|
<span>{{orderStatus.statusTitle}}</span>
|
|
6
6
|
</div>
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
{{> my-account/active-orders/order-details switch-vat=switch-vat}}
|
|
5
5
|
|
|
6
|
-
{{
|
|
6
|
+
{{#if totalConsignments}}
|
|
7
|
+
{{> my-account/active-orders/consignment-info}}
|
|
8
|
+
{{/if}}
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{{
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
{{#if shipmentDetails}}
|
|
11
|
+
<section class="shipment-details">
|
|
12
|
+
{{#each shipmentDetails}}
|
|
13
|
+
{{> my-account/active-orders/shipment-detail}}
|
|
14
|
+
{{/each}}
|
|
15
|
+
</section>
|
|
16
|
+
{{/if}}
|
|
13
17
|
|
|
14
18
|
<div class="view-more">
|
|
15
19
|
<a class="link" href="/">
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
<div class="account-nav {{mod}}" {{#if (eq @index ../active-index)}}data-active-index="{{active-index}}"{{/if}}>
|
|
1
|
+
<div class="account-nav {{this.mod}}" {{#if (eq @index ../active-index)}}data-active-index="{{active-index}}"{{/if}}>
|
|
2
2
|
<div class="account-nav__toggle accordion accordion_collapsed">
|
|
3
3
|
<div class="accordion__header" role="link" aria-expanded="false">
|
|
4
|
-
|
|
5
|
-
{{#
|
|
6
|
-
{{#if
|
|
7
|
-
|
|
8
|
-
{{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
{{#each menu}}
|
|
5
|
+
{{#if (eq @index ../active-index)}}
|
|
6
|
+
{{#if icon}}
|
|
7
|
+
<span class="account-nav__icon">
|
|
8
|
+
{{#if customIcon}}
|
|
9
|
+
{{{icon}}}
|
|
10
|
+
{{else}}
|
|
11
|
+
<i class="{{icon}} icon"></i>
|
|
12
|
+
{{/if}}
|
|
13
|
+
</span>
|
|
12
14
|
{{/if}}
|
|
13
|
-
{{/
|
|
14
|
-
|
|
15
|
+
{{/if}}
|
|
16
|
+
{{/each}}
|
|
15
17
|
<span class="accordion__header-text">{{page-name}}</span>
|
|
16
18
|
<span class="icon accordion__header-icon">
|
|
17
19
|
<i class="fas fa-angle-up"></i>
|
|
@@ -23,14 +25,16 @@
|
|
|
23
25
|
<ul class="account-nav__list">
|
|
24
26
|
{{#each menu}}
|
|
25
27
|
<li class="account-nav__item">
|
|
26
|
-
<a class="account-nav__link" data-index="{{@index}}" href="{{link}}">
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
{{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
<a class="account-nav__link" data-index="{{@index}}" href="{{link}}" id="{{id}}">
|
|
29
|
+
{{#if icon}}
|
|
30
|
+
<span class="account-nav__icon">
|
|
31
|
+
{{#if customIcon}}
|
|
32
|
+
{{{icon}}}
|
|
33
|
+
{{else}}
|
|
34
|
+
<i class="{{icon}} icon"></i>
|
|
35
|
+
{{/if}}
|
|
36
|
+
</span>
|
|
37
|
+
{{/if}}
|
|
34
38
|
{{title}}
|
|
35
39
|
{{#if total}}
|
|
36
40
|
<span class="rewards">{{total}}</span>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<nav class="nav-orders">
|
|
2
|
+
{{> my-account/mobile-nav
|
|
3
|
+
mod="d-sm-none"
|
|
4
|
+
menu=nav
|
|
5
|
+
active-index=0
|
|
6
|
+
page-name=nav.[0].title
|
|
7
|
+
}}
|
|
8
|
+
<ul class="nav-orders__wrap d-none d-sm-flex">
|
|
9
|
+
{{#each nav}}
|
|
10
|
+
<li class="nav-orders__item {{#if isActive}}active{{/if}}">
|
|
11
|
+
<a class="link" href="#" id="{{id}}">{{title}}</a>
|
|
12
|
+
</li>
|
|
13
|
+
{{/each}}
|
|
14
|
+
</ul>
|
|
15
|
+
</nav>
|