wickes-css2 2.105.0-develop.2 → 2.105.0-develop.4
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 +3 -2
- package/build/css/category-main.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-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/page_product_search.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.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/account-members.min.js +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 +12122 -11594
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -9
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket/basket-update-cart-action.js +59 -56
- package/build/js/page/basket/basket-update-cart.js +27 -27
- package/build/js/page/basket/basket-utils.js +40 -33
- package/build/js/page/basket/mini-basket-total.js +70 -66
- package/build/js/page/basket/quantity-change-handler.js +73 -55
- package/build/js/page/basket/update-quantity-operation.js +39 -30
- package/build/js/page/basket/update-quantity.js +62 -62
- package/build/js/page/basket-v2.js +362 -229
- package/build/js/page/billie-business-type.js +27 -27
- package/build/js/page/checkout-payment-details.js +301 -299
- package/build/js/page/components/discounts.js +39 -36
- package/build/js/page/components/mini-basket-slider.js +604 -545
- package/build/js/page/filters/desktop-nav.js +64 -0
- package/build/js/page/filters/mobile-nav.js +93 -0
- package/build/js/page/filters/plp-filters-chips.js +92 -0
- package/build/js/page/filters/plp-filters-mobile.js +150 -0
- package/build/js/page/filters/plp-filters-panel.js +123 -0
- package/build/js/page/filters/plp-filters-utils.js +66 -0
- package/build/js/page/filters/plp-filters.js +256 -0
- package/build/js/page/filters/sort-by.js +172 -0
- package/build/js/page/klarna-modal-scroll-disable.js +4 -4
- package/build/js/page/online-exclusive.js +28 -30
- package/build/js/page/search-filter.js +62 -0
- package/build/js/page/utils/helpers.js +14 -9
- package/build/js/page/utils/show-more-less.js +273 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp-filters.min.js +9 -0
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/search-filter.min.js +1 -0
- package/package.json +5 -3
- package/src/components/accordion.hbs +2 -2
- package/src/components/generate-project-id.hbs +1 -1
- package/src/components/kitchen/dropdown.hbs +6 -3
- package/src/components/kitchen/filter-modal-content-kitchen.hbs +10 -0
- package/src/components/kitchen/filter-modal.hbs +10 -13
- package/src/components/kitchen/plp-filters.hbs +3 -1
- package/src/components/kitchen/sort-by.hbs +1 -1
- package/src/components/search-filter-modal-content.hbs +102 -0
- package/src/components/search-filter.hbs +121 -112
- package/src/components/shopping-list-with-share-list-v2.hbs +28 -10
- package/src/components/shopping-list.hbs +5 -5
- package/src/data/data_plp_load-more.json +1 -1
- package/src/elements/btn.hbs +7 -0
- package/src/js/components/general/accordion.js +38 -29
- package/src/js/components/general/cart-slider.js +19 -16
- package/src/js/components/general/create-popup-slider.js +168 -173
- package/src/js/emulation/big-wins.js +1081 -904
- package/src/js/emulation/billie-modal.js +23 -19
- package/src/js/emulation/checkout-payment-details.js +47 -38
- package/src/js/emulation/custom-slider-emulation.js +17 -13
- package/src/js/emulation/filters-emulation.js +164 -0
- package/src/js/emulation/forms.js +360 -323
- package/src/js/emulation/mini-basket-data.js +1051 -923
- package/src/js/emulation/paymentLoader.js +17 -17
- package/src/js/emulation/pdf-file-loader.js +89 -91
- package/src/js/emulation/popover-mini-basket.js +246 -239
- package/src/js/emulation/product-counter.js +50 -0
- package/src/js/emulation/project-list-pdp.js +321 -316
- package/src/js/emulation/repayment-toggle.js +23 -24
- package/src/js/emulation/reset-filter-desktop.js +5 -0
- package/src/js/emulation/selectable.js +22 -18
- package/src/js/emulation/wismo-details.js +23 -31
- package/src/js/page/basket/basket-update-cart-action.js +59 -56
- package/src/js/page/basket/basket-update-cart.js +27 -27
- package/src/js/page/basket/basket-utils.js +40 -33
- package/src/js/page/basket/mini-basket-total.js +70 -66
- package/src/js/page/basket/quantity-change-handler.js +73 -55
- package/src/js/page/basket/update-quantity-operation.js +39 -30
- package/src/js/page/basket/update-quantity.js +62 -62
- package/src/js/page/basket-v2.js +362 -229
- package/src/js/page/billie-business-type.js +27 -27
- package/src/js/page/checkout-payment-details.js +301 -299
- package/src/js/page/components/discounts.js +39 -36
- package/src/js/page/components/mini-basket-slider.js +604 -545
- package/src/js/page/filters/desktop-nav.js +64 -0
- package/src/js/page/filters/mobile-nav.js +93 -0
- package/src/js/page/filters/plp-filters-chips.js +92 -0
- package/src/js/page/filters/plp-filters-mobile.js +150 -0
- package/src/js/page/filters/plp-filters-panel.js +123 -0
- package/src/js/page/filters/plp-filters-utils.js +66 -0
- package/src/js/page/filters/plp-filters.js +256 -0
- package/src/js/page/filters/sort-by.js +172 -0
- package/src/js/page/klarna-modal-scroll-disable.js +4 -4
- package/src/js/page/online-exclusive.js +28 -30
- package/src/js/page/search-filter.js +62 -0
- package/src/js/page/utils/helpers.js +14 -9
- package/src/js/page/utils/show-more-less.js +273 -0
- package/src/page_empty-shared-project-list-bicester-hub.html +3 -0
- package/src/page_kitchen-plp.html +2 -2
- package/src/page_my-shopping-list-hide-download.html +1 -1
- package/src/page_plp-with-paint.html +2 -7
- package/src/page_plp.html +2 -7
- package/src/page_plp_v2-energy-efficiency.html +1 -6
- package/src/page_plp_v2-favourite-products.html +6 -7
- package/src/page_plp_v2-vat.html +2 -7
- package/src/page_plp_v2.html +22 -9
- package/src/page_product_search-vat.html +2 -7
- package/src/page_product_search.html +2 -7
- package/src/page_project-list-with-new-share-popup-android.html +15 -0
- package/src/page_project-list-with-new-share-popup-ios.html +15 -0
- package/src/page_project-list-with-new-share-popup.html +1 -0
- package/src/page_search-results.html +2 -7
- package/src/page_shared-project-list-bicester-hub.html +1 -0
- package/src/scss/common/_common.scss +5 -4
- package/src/scss/components/_accordion.scss +1 -3
- package/src/scss/components/_custom-slider.scss +15 -14
- package/src/scss/components/_date-selection-add-new-styles.scss +6 -7
- package/src/scss/components/_date-selection.scss +1 -1
- package/src/scss/components/{kitchen/_filter-modal.scss → _filter-modal.scss} +55 -4
- package/src/scss/components/{kitchen/_plp-filters.scss → _plp-filters.scss} +31 -13
- package/src/scss/components/_popover-mini-basket.scss +3 -3
- package/src/scss/components/_search-filter.scss +95 -15
- package/src/scss/components/_shared-shopping-list.scss +22 -0
- package/src/scss/components/_shopping-list.scss +18 -8
- package/src/scss/components/_sort-by.scss +190 -0
- package/src/scss/components/checkout-chip.scss +2 -2
- package/src/scss/components/checkout-payment-repayment-terms.scss +1 -1
- package/src/scss/globals/_global-components.scss +3 -0
- package/src/scss/helpers/_colors-semantic.scss +68 -68
- package/src/scss/helpers/_variables.scss +242 -196
- package/src/scss/kitchen-plp-main.scss +0 -3
- package/src/scss/main.scss +65 -65
- package/src/scss/pages/page_product-details-v2.scss +1 -4
- package/src/scss/pages/page_product_search.scss +9 -1
- package/src/scss/pages/page_products-list-combined.scss +28 -24
- package/src/scss/pages/page_products-list.scss +8 -0
- package/src/scss/pages/tradePro-rewards.scss +2 -3
- package/src/sitemap.html +9 -1
- package/build/js/page/accordion.js +0 -35
- package/build/js/page/kitchen/plp-filters-chips.js +0 -90
- package/build/js/page/kitchen/plp-filters-mobile.js +0 -72
- package/build/js/page/kitchen/plp-filters-panel.js +0 -119
- package/build/js/page/kitchen/plp-filters-utils.js +0 -65
- package/build/js/page/kitchen/plp-filters.js +0 -205
- package/build/js/page/kitchen/sort-by.js +0 -157
- package/src/js/components/general/search-filter.js +0 -21
- package/src/js/page/accordion.js +0 -35
- package/src/js/page/kitchen/plp-filters-chips.js +0 -90
- package/src/js/page/kitchen/plp-filters-mobile.js +0 -72
- package/src/js/page/kitchen/plp-filters-panel.js +0 -119
- package/src/js/page/kitchen/plp-filters-utils.js +0 -65
- package/src/js/page/kitchen/plp-filters.js +0 -205
- package/src/js/page/kitchen/sort-by.js +0 -157
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function o(i,n,s){function l(t,e){if(!n[t]){if(!i[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=n[t]={exports:{}},i[t][0].call(r.exports,function(e){return l(i[t][1][e]||e)},r,r.exports,o,i,n,s)}return n[t].exports}for(var c="function"==typeof require&&require,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,r){"use strict";var o,i,n;o=$(".filter-results_mobile"),$("#open-overlay").click(function(e){e.preventDefault(),$("body").addClass("is-filters-visible"),o.toggleClass("show")}),$("#close-overlay, .filter-results__btn-close").click(function(e){e.preventDefault(),o.hasClass("show")&&($("body").removeClass("is-filters-visible"),o.removeClass("show"))}),$('.filter-results_desktop .filter__item input[type="checkbox"]').click(function(){$(this).closest("form").submit()}),i=".close",n='.filter-results_desktop .filter__item input[type="checkbox"]',$(".filter-modal-cta").on("click",function(e){e.preventDefault()}),$(document).on("click",i,function(e){e.preventDefault()}),$(document).on("click",n,function(){$(this).closest("form").submit()})},{}]},{},[1]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wickes-css2",
|
|
3
|
-
"version": "2.105.0-develop.
|
|
3
|
+
"version": "2.105.0-develop.4",
|
|
4
4
|
"description": "CSS and JS and page templates in use by Wickes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
"prettier --write"
|
|
16
16
|
],
|
|
17
17
|
"src/scss/**/*.{scss,css}": [
|
|
18
|
+
"sass-lint-auto-fix",
|
|
18
19
|
"prettier --write",
|
|
19
|
-
"sass-lint-
|
|
20
|
+
"sass-lint -c .sasslintrc --"
|
|
20
21
|
]
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
"prettier": "^3.7.4",
|
|
71
72
|
"pug": "2.0.4",
|
|
72
73
|
"sass": "^1.54.9",
|
|
74
|
+
"sass-lint": "^1.13.1",
|
|
73
75
|
"sass-lint-auto-fix": "^0.21.2",
|
|
74
76
|
"semantic-release": "^16.0.0-beta.9",
|
|
75
77
|
"through2": "^4.0.2",
|
|
@@ -123,7 +125,7 @@
|
|
|
123
125
|
"branches": [
|
|
124
126
|
"alt-master",
|
|
125
127
|
{
|
|
126
|
-
"name": "
|
|
128
|
+
"name": "custom-tag/0.5.0-icons",
|
|
127
129
|
"prerelease": "${name.replace(/^custom-tag\\//g, '')}"
|
|
128
130
|
}
|
|
129
131
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<div class="accordion {{mod}} {{collapsed}}">
|
|
1
|
+
<div class="accordion {{mod}} {{collapsed}}" {{#if facetStep}}data-facet-step="{{facetStep}}"{{/if}}>
|
|
2
2
|
<h5 class="accordion__header">
|
|
3
3
|
{{#unless hide-chevron}}
|
|
4
|
-
|
|
4
|
+
<span class="icon accordion__header-icon">
|
|
5
5
|
<i class="fas fa-angle-up"></i>
|
|
6
6
|
</span>
|
|
7
7
|
{{/unless}}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="row">
|
|
5
5
|
<div class="col-12 generate-project-id__col">
|
|
6
6
|
<button class="generate-project-id__btn btn btn-transparent">
|
|
7
|
-
<span class="btn_text btn-transparent__text">Generate
|
|
7
|
+
<span class="btn_text btn-transparent__text">Generate project ID</span>
|
|
8
8
|
<i class="btn-transparent__icon far fa-download"></i>
|
|
9
9
|
<a href="#" class="copy-barcode page-footer__copy" style="display:none;">
|
|
10
10
|
<i class="far fa-copy"></i>
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
<div class="sort-dd" role="menu" aria-label="Sort options" hidden>
|
|
2
|
-
<button class="sort-opt" type="button" data-value="relevance"
|
|
2
|
+
<button class="sort-opt" type="button" data-value="relevance"
|
|
3
|
+
{{#unless isKitchenMode}}data-is-plp-srp="true"{{/unless}}>
|
|
3
4
|
<i class="fa fa-check sort-opt__check" aria-hidden="true"></i>
|
|
4
5
|
<span>Relevance</span>
|
|
5
6
|
</button>
|
|
6
|
-
<button class="sort-opt" type="button" data-value="priceLow"
|
|
7
|
+
<button class="sort-opt" type="button" data-value="priceLow"
|
|
8
|
+
{{#unless isKitchenMode}}data-is-plp-srp="true"{{/unless}}>
|
|
7
9
|
<i class="fa fa-check sort-opt__check" aria-hidden="true"></i>
|
|
8
10
|
<span>Price (lowest first)</span>
|
|
9
11
|
</button>
|
|
10
|
-
<button class="sort-opt" type="button" data-value="priceHigh"
|
|
12
|
+
<button class="sort-opt" type="button" data-value="priceHigh"
|
|
13
|
+
{{#unless isKitchenMode}}data-is-plp-srp="true"{{/unless}}>
|
|
11
14
|
<i class="fa fa-check sort-opt__check" aria-hidden="true"></i>
|
|
12
15
|
<span>Price (highest first)</span>
|
|
13
16
|
</button>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{{#with kitchen-plp}}
|
|
2
|
+
{{> kitchen/chips mod="mobile"}}
|
|
3
|
+
{{#each filters}}
|
|
4
|
+
{{#extend "accordion" header=name collapsed="accordion_collapsed" hidden="hidden-state"}}
|
|
5
|
+
{{#content "content"}}
|
|
6
|
+
{{> kitchen/filter-option }}
|
|
7
|
+
{{/content}}
|
|
8
|
+
{{/extend}}
|
|
9
|
+
{{/each}}
|
|
10
|
+
{{/with}}
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
{{#extend "modal" id="filterModal" classMod="filter-modal modal-scroll-observer" title="" showCloseBtn=true centered=true backdrop=true fullWidth=true}}
|
|
2
2
|
{{#content "header"}}
|
|
3
3
|
<h4 class="filter-modal__title">
|
|
4
|
-
|
|
4
|
+
{{ modalTitle }}
|
|
5
5
|
</h4>
|
|
6
6
|
{{/content}}
|
|
7
7
|
{{#content "body"}}
|
|
8
8
|
<div class="filter-modal__content">
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{{
|
|
12
|
-
{{
|
|
13
|
-
|
|
14
|
-
{{> kitchen/filter-option }}
|
|
15
|
-
{{/content}}
|
|
16
|
-
{{/extend}}
|
|
17
|
-
{{/each}}
|
|
18
|
-
{{/with}}
|
|
9
|
+
{{#if isKitchenMode}}
|
|
10
|
+
{{> kitchen/filter-modal-content-kitchen }}
|
|
11
|
+
{{else}}
|
|
12
|
+
{{> search-filter-modal-content }}
|
|
13
|
+
{{/if}}
|
|
19
14
|
</div>
|
|
20
15
|
{{/content}}
|
|
21
16
|
|
|
22
17
|
{{#content "footer"}}
|
|
23
18
|
<div class="modal-box__inner-row justify-content-center modal-box__footer-row">
|
|
24
19
|
<div class="modal-box__inner-columns">
|
|
25
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal"
|
|
26
|
-
|
|
20
|
+
<button type="button" class="btn btn-secondary" data-dismiss="modal"
|
|
21
|
+
{{#unless isKitchenMode}}data-is-plp-srp="true"{{/unless}} >Clear all</button>
|
|
22
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal"
|
|
23
|
+
{{#unless isKitchenMode}}data-is-plp-srp="true"{{/unless}}>View results</button>
|
|
27
24
|
</div>
|
|
28
25
|
</div>
|
|
29
26
|
{{/content}}
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
<div class="plp-filters__bar plp-filters__bar-mobile" role="tablist" aria-label="Filters">
|
|
4
4
|
{{> kitchen/mobile-nav-item
|
|
5
5
|
icon="fas fa-filter"
|
|
6
|
-
title="Filter"
|
|
6
|
+
title="Filter by"
|
|
7
7
|
modalId="filterModal"
|
|
8
8
|
}}
|
|
9
9
|
{{> kitchen/mobile-nav-item
|
|
10
10
|
icon="fas fa-sort-alt"
|
|
11
11
|
title="Sort by"
|
|
12
|
+
info="Relevance"
|
|
12
13
|
dropdown=true
|
|
14
|
+
isKitchenMode=true
|
|
13
15
|
}}
|
|
14
16
|
</div>
|
|
15
17
|
<div class="container">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<label class="sort__label">Sort by</label>
|
|
3
3
|
|
|
4
4
|
<button class="sort-button" type="button" aria-haspopup="menu" aria-expanded="false">
|
|
5
|
-
<span class="js-sort-info"
|
|
5
|
+
<span class="js-sort-info">Relevance</span>
|
|
6
6
|
<i class="sort__chevron fa fa-chevron-down" aria-hidden="true"></i>
|
|
7
7
|
</button>
|
|
8
8
|
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<form class="filter-results filter-results_mobile">
|
|
2
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Color Family" mod="filter" facetStep="5" }}
|
|
3
|
+
{{#content "content"}}
|
|
4
|
+
{{#each filters.colors}}
|
|
5
|
+
<div class="filter__item">
|
|
6
|
+
<label for="m-{{id}}" class="chb chb-color">
|
|
7
|
+
<input type="checkbox" value="{{label}}" id="m-{{id}}" name="{{id}}-filter">
|
|
8
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
9
|
+
<span>{{label}}</span>
|
|
10
|
+
</label>
|
|
11
|
+
</div>
|
|
12
|
+
{{/each}}
|
|
13
|
+
{{/content}}
|
|
14
|
+
{{/extend}}
|
|
15
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by category" mod="filter category-filter" fixed-height=""}}
|
|
16
|
+
{{#content "content"}}
|
|
17
|
+
{{>category-tree filters}}
|
|
18
|
+
{{/content}}
|
|
19
|
+
{{/extend}}
|
|
20
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by pack quantity" mod="filter" facetStep="5"}}
|
|
21
|
+
{{#content "content"}}
|
|
22
|
+
{{/content}}
|
|
23
|
+
{{/extend}}
|
|
24
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by type" mod="filter" facetStep="5"}}
|
|
25
|
+
{{#content "content"}}
|
|
26
|
+
{{#each filters.type-list}}
|
|
27
|
+
<div class="filter__item">
|
|
28
|
+
<label for="m-{{id}}" class="chb chb-{{classForGtm}}">
|
|
29
|
+
<input type="checkbox" value="{{value}}" id="m-{{id}}"
|
|
30
|
+
name="m-{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
31
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
32
|
+
<span>{{label}}</span>
|
|
33
|
+
<span class="filter-quantity">({{quantity}})</span>
|
|
34
|
+
</label>
|
|
35
|
+
</div>
|
|
36
|
+
{{/each}}
|
|
37
|
+
{{/content}}
|
|
38
|
+
{{/extend}}
|
|
39
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Customer Rating" mod="filter" facetStep="5"}}
|
|
40
|
+
{{#content "content"}}
|
|
41
|
+
{{#each filters.rated}}
|
|
42
|
+
<div class="filter__item">
|
|
43
|
+
{{#ifvalue quantity value='0'}}
|
|
44
|
+
{{else}}
|
|
45
|
+
<label class="chb chb-{{classForGtm}}">
|
|
46
|
+
<input type="checkbox" value="{{value}}" id="{{id}}" name="{{id}}" {{#if checked}}checked{{/if}} {{#if
|
|
47
|
+
disabled}}disabled{{/if}}>
|
|
48
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
49
|
+
<div class="filter__reviews">
|
|
50
|
+
<div class="product-rating">
|
|
51
|
+
<div class="rating-bg">
|
|
52
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
53
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
54
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
55
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
56
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
57
|
+
<div class="rating-overlay" data-rating="{{#if rating}}{{rating}}{{else}}0{{/if}}">
|
|
58
|
+
<span class="star-overlay">
|
|
59
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
60
|
+
</span>
|
|
61
|
+
<span class="star-overlay">
|
|
62
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
63
|
+
</span>
|
|
64
|
+
<span class="star-overlay">
|
|
65
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
66
|
+
</span>
|
|
67
|
+
<span class="star-overlay">
|
|
68
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
69
|
+
</span>
|
|
70
|
+
<span class="star-overlay">
|
|
71
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
72
|
+
</span>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
({{quantity}})
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</label>
|
|
79
|
+
{{/ifvalue}}
|
|
80
|
+
</div>
|
|
81
|
+
{{/each}}
|
|
82
|
+
{{/content}}
|
|
83
|
+
{{/extend}}
|
|
84
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by bulb shape" mod="filter" facetStep="5"}}
|
|
85
|
+
{{#content "content"}}
|
|
86
|
+
{{/content}}
|
|
87
|
+
{{/extend}}
|
|
88
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by number of gangs" mod="filter" facetStep="5"}}
|
|
89
|
+
{{#content "content"}}
|
|
90
|
+
{{/content}}
|
|
91
|
+
{{/extend}}
|
|
92
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by bulb fitting" mod="filter" facetStep="5"}}
|
|
93
|
+
{{#content "content"}}
|
|
94
|
+
{{/content}}
|
|
95
|
+
{{/extend}}
|
|
96
|
+
{{#extend "accordion" collapsed="accordion_collapsed" hidden="hidden-state" header="Shop by wattage" mod="filter" facetStep="5"}}
|
|
97
|
+
{{#content "content"}}
|
|
98
|
+
{{/content}}
|
|
99
|
+
{{/extend}}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</form>
|
|
@@ -1,134 +1,143 @@
|
|
|
1
1
|
<form class="filter-results filter-results_desktop">
|
|
2
2
|
<div class="filter-results__heading">
|
|
3
|
-
<
|
|
4
|
-
|
|
3
|
+
<div class="flex">
|
|
4
|
+
<span class="heading-4">{{#unless filterTitle}}Filter by{{/unless}}{{filterTitle}}</span>
|
|
5
|
+
<button type="reset" class="filter-results__clear" value="Clear all">Clear all</button>
|
|
6
|
+
</div>
|
|
7
|
+
{{#unless filterTitle}}
|
|
8
|
+
<div class="sort-products-list__total">
|
|
9
|
+
<span class="product-count">{{plp_load-more.pagination.totalNumberOfResults}}</span> <span>results</span>
|
|
10
|
+
</div>
|
|
11
|
+
{{/unless}}
|
|
5
12
|
</div>
|
|
6
|
-
|
|
7
|
-
{{#
|
|
8
|
-
{{#each filters.colors}}
|
|
9
|
-
<div class="filter__item">
|
|
10
|
-
<label for="{{id}}" class="chb chb-color">
|
|
11
|
-
<input type="checkbox" value="{{label}}" id="{{id}}" name="{{id}}-filter">
|
|
12
|
-
<ins><i class="fas fa-check"></i></ins>
|
|
13
|
-
<span>{{label}}</span>
|
|
14
|
-
</label>
|
|
15
|
-
</div>
|
|
16
|
-
{{/each}}
|
|
17
|
-
{{/content}}
|
|
18
|
-
{{/extend}}
|
|
19
|
-
{{#extend "accordion" header="Shop by category" mod="filter category-filter" fixed-height=""}}
|
|
20
|
-
{{#content "content"}}
|
|
21
|
-
{{>category-tree filters}}
|
|
22
|
-
{{/content}}
|
|
23
|
-
{{/extend}}
|
|
24
|
-
{{#extend "accordion" header="Shop by pack quantity" mod="filter"}}
|
|
25
|
-
{{#content "content"}}
|
|
26
|
-
{{/content}}
|
|
27
|
-
{{/extend}}
|
|
28
|
-
{{#extend "accordion" header="Shop by type" mod="filter"}}
|
|
29
|
-
{{#content "content"}}
|
|
30
|
-
{{#each filters.type-list}}
|
|
31
|
-
<div class="filter__item">
|
|
32
|
-
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
33
|
-
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
34
|
-
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
35
|
-
<ins><i class="fas fa-check"></i></ins>
|
|
36
|
-
<span>{{label}}</span>
|
|
37
|
-
<span class="filter-quantity">({{quantity}})</span>
|
|
38
|
-
</label>
|
|
39
|
-
</div>
|
|
40
|
-
{{/each}}
|
|
41
|
-
{{/content}}
|
|
42
|
-
{{/extend}}
|
|
43
|
-
{{#extend "accordion" header="Shop by type 2" mod="filter"}}
|
|
13
|
+
<div class="accordions">
|
|
14
|
+
{{#extend "accordion" header="Color Family" mod="filter" facetStep="5"}}
|
|
44
15
|
{{#content "content"}}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</div>
|
|
55
|
-
{{/each}}
|
|
16
|
+
{{#each filters.colors}}
|
|
17
|
+
<div class="filter__item">
|
|
18
|
+
<label for="{{id}}" class="chb chb-color">
|
|
19
|
+
<input type="checkbox" value="{{label}}" id="{{id}}" name="{{id}}-filter">
|
|
20
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
21
|
+
<span>{{label}}</span>
|
|
22
|
+
</label>
|
|
23
|
+
</div>
|
|
24
|
+
{{/each}}
|
|
56
25
|
{{/content}}
|
|
57
|
-
|
|
58
|
-
|
|
26
|
+
{{/extend}}
|
|
27
|
+
{{#extend "accordion" header="Shop by category" mod="filter category-filter" fixed-height=""}}
|
|
59
28
|
{{#content "content"}}
|
|
60
|
-
|
|
61
|
-
<div class="filter__item">
|
|
62
|
-
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
63
|
-
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
64
|
-
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
65
|
-
<ins><i class="fas fa-check"></i></ins>
|
|
66
|
-
<span>{{label}}</span>
|
|
67
|
-
<span class="filter-quantity">({{quantity}})</span>
|
|
68
|
-
</label>
|
|
69
|
-
</div>
|
|
70
|
-
{{/each}}
|
|
29
|
+
{{>category-tree filters}}
|
|
71
30
|
{{/content}}
|
|
72
|
-
|
|
73
|
-
|
|
31
|
+
{{/extend}}
|
|
32
|
+
{{#extend "accordion" header="Shop by pack quantity" mod="filter" facetStep="5"}}
|
|
74
33
|
{{#content "content"}}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
34
|
+
{{/content}}
|
|
35
|
+
{{/extend}}
|
|
36
|
+
{{#extend "accordion" header="Shop by type" mod="filter" facetStep="5"}}
|
|
37
|
+
{{#content "content"}}
|
|
38
|
+
{{#each filters.type-list}}
|
|
39
|
+
<div class="filter__item">
|
|
40
|
+
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
41
|
+
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
42
|
+
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
43
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
44
|
+
<span>{{label}}</span>
|
|
45
|
+
<span class="filter-quantity">({{quantity}})</span>
|
|
46
|
+
</label>
|
|
47
|
+
</div>
|
|
48
|
+
{{/each}}
|
|
49
|
+
{{/content}}
|
|
50
|
+
{{/extend}}
|
|
51
|
+
{{#extend "accordion" header="Shop by type 2" mod="filter" facetStep="5"}}
|
|
52
|
+
{{#content "content"}}
|
|
53
|
+
{{#each filters.type-list2}}
|
|
54
|
+
<div class="filter__item">
|
|
55
|
+
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
56
|
+
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
57
|
+
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
58
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
59
|
+
<span>{{label}}</span>
|
|
60
|
+
<span class="filter-quantity">({{quantity}})</span>
|
|
61
|
+
</label>
|
|
62
|
+
</div>
|
|
63
|
+
{{/each}}
|
|
64
|
+
{{/content}}
|
|
65
|
+
{{/extend}}
|
|
66
|
+
{{#extend "accordion" header="Shop by type 3" mod="filter" facetStep="5"}}
|
|
67
|
+
{{#content "content"}}
|
|
68
|
+
{{#each filters.type-list3}}
|
|
69
|
+
<div class="filter__item">
|
|
70
|
+
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
71
|
+
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
72
|
+
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
73
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
74
|
+
<span>{{label}}</span>
|
|
75
|
+
<span class="filter-quantity">({{quantity}})</span>
|
|
76
|
+
</label>
|
|
77
|
+
</div>
|
|
78
|
+
{{/each}}
|
|
79
|
+
{{/content}}
|
|
80
|
+
{{/extend}}
|
|
81
|
+
{{#extend "accordion" header="Customer Rating" mod="filter" facetStep="5"}}
|
|
82
|
+
{{#content "content"}}
|
|
83
|
+
{{#each filters.rated}}
|
|
84
|
+
<div class="filter__item">
|
|
85
|
+
{{#ifvalue quantity value='0'}}
|
|
86
|
+
{{else}}
|
|
87
|
+
<label for="{{id}}" class="chb chb-{{classForGtm}}">
|
|
88
|
+
<input type="checkbox" value="{{value}}" id="{{id}}"
|
|
89
|
+
name="{{id}}" {{#if checked}}checked{{/if}} {{#if disabled}}disabled{{/if}}>
|
|
90
|
+
<ins><i class="fas fa-check"></i></ins>
|
|
91
|
+
<div class="filter__reviews">
|
|
92
|
+
<div class="product-rating">
|
|
93
|
+
<div class="rating-bg">
|
|
94
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
95
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
96
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
97
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
98
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
99
|
+
<div class="rating-overlay" data-rating="{{#if rating}}{{rating}}{{else}}0{{/if}}">
|
|
92
100
|
<span class="star-overlay">
|
|
93
101
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
94
102
|
</span>
|
|
95
|
-
|
|
103
|
+
<span class="star-overlay">
|
|
96
104
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
97
105
|
</span>
|
|
98
|
-
|
|
106
|
+
<span class="star-overlay">
|
|
99
107
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
100
108
|
</span>
|
|
101
|
-
|
|
109
|
+
<span class="star-overlay">
|
|
102
110
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
103
111
|
</span>
|
|
104
|
-
|
|
112
|
+
<span class="star-overlay">
|
|
105
113
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
106
114
|
</span>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
({{quantity}})
|
|
110
|
-
</div>
|
|
111
115
|
</div>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
</div>
|
|
117
|
+
({{quantity}})
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</label>
|
|
121
|
+
{{/ifvalue}}
|
|
122
|
+
</div>
|
|
123
|
+
{{/each}}
|
|
124
|
+
{{/content}}
|
|
125
|
+
{{/extend}}
|
|
126
|
+
{{#extend "accordion" header="Shop by bulb shape" mod="filter" facetStep="5"}}
|
|
127
|
+
{{#content "content"}}
|
|
128
|
+
{{/content}}
|
|
129
|
+
{{/extend}}
|
|
130
|
+
{{#extend "accordion" header="Shop by number of gangs" mod="filter" facetStep="5"}}
|
|
131
|
+
{{#content "content"}}
|
|
116
132
|
{{/content}}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
{{#content "content"}}
|
|
128
|
-
{{/content}}
|
|
129
|
-
{{/extend}}
|
|
130
|
-
{{#extend "accordion" header="Shop by wattage" mod="filter"}}
|
|
131
|
-
{{#content "content"}}
|
|
132
|
-
{{/content}}
|
|
133
|
-
{{/extend}}
|
|
133
|
+
{{/extend}}
|
|
134
|
+
{{#extend "accordion" header="Shop by bulb fitting" mod="filter" facetStep="5"}}
|
|
135
|
+
{{#content "content"}}
|
|
136
|
+
{{/content}}
|
|
137
|
+
{{/extend}}
|
|
138
|
+
{{#extend "accordion" header="Shop by wattage" mod="filter" facetStep="5"}}
|
|
139
|
+
{{#content "content"}}
|
|
140
|
+
{{/content}}
|
|
141
|
+
{{/extend}}
|
|
142
|
+
</div>
|
|
134
143
|
</form>
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
<div class="container component pt-0 globalMessages">
|
|
3
3
|
<div class="row">
|
|
4
4
|
<div class="col-12">
|
|
5
|
-
<div
|
|
6
|
-
|
|
7
|
-
<div
|
|
5
|
+
<div
|
|
6
|
+
class="primary-text mb-3">{{> notifications notification-page.success-product-added-to-shop-list withCloseBtn="true"}}</div>
|
|
7
|
+
<div
|
|
8
|
+
class="primary-text mb-3">{{> notifications notification-page.warning-product-added-to-shop-list withCloseBtn="true"}}</div>
|
|
9
|
+
<div
|
|
10
|
+
class="primary-text">{{> notifications notification-page.error-load-pdf-to-shop-list withCloseBtn="true"}}</div>
|
|
8
11
|
</div>
|
|
9
12
|
</div>
|
|
10
13
|
</div>
|
|
@@ -13,6 +16,7 @@
|
|
|
13
16
|
<h1 class="page-header__title">Hill - 24-07-23 - Ohio White</h1>
|
|
14
17
|
</div>
|
|
15
18
|
</div>
|
|
19
|
+
{{> generate-project-id}}
|
|
16
20
|
{{#if emptyShopList}}
|
|
17
21
|
<div class="container component py-4">
|
|
18
22
|
<div class="row">
|
|
@@ -35,15 +39,29 @@
|
|
|
35
39
|
<div class="row m-0">
|
|
36
40
|
<div class="actions actions--v2">
|
|
37
41
|
<div class="dropdown-share-list">
|
|
38
|
-
<button class="btn btn_full btn-secondary share-call share-call__desktop" role="button"
|
|
39
|
-
|
|
42
|
+
<button class="btn btn_full btn-secondary share-call share-call__desktop" role="button"
|
|
43
|
+
id="dropdownShareLinks" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
|
|
44
|
+
data-display="static">
|
|
45
|
+
{{#if isAndroid}}
|
|
46
|
+
<i class="fas fa-share-alt icon"></i>
|
|
47
|
+
{{else}}
|
|
48
|
+
<svg class="ios-custom-share-icon" width="14" height="24" viewBox="0 0 14 16" fill="none"
|
|
49
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
50
|
+
<path
|
|
51
|
+
d="M7.70625 0.292969C7.31563 -0.0976562 6.68125 -0.0976562 6.29063 0.292969L2.29063 4.29297C1.9 4.68359 1.9 5.31797 2.29063 5.70859C2.68125 6.09922 3.31562 6.09922 3.70625 5.70859L6 3.41484V9.99922C6 10.5523 6.44688 10.9992 7 10.9992C7.55312 10.9992 8 10.5523 8 9.99922V3.41484L10.2937 5.70859C10.6844 6.09922 11.3188 6.09922 11.7094 5.70859C12.1 5.31797 12.1 4.68359 11.7094 4.29297L7.70937 0.292969H7.70625ZM2 10.9992C2 10.4461 1.55313 9.99922 1 9.99922C0.446875 9.99922 0 10.4461 0 10.9992V12.9992C0 14.6555 1.34375 15.9992 3 15.9992H11C12.6562 15.9992 14 14.6555 14 12.9992V10.9992C14 10.4461 13.5531 9.99922 13 9.99922C12.4469 9.99922 12 10.4461 12 10.9992V12.9992C12 13.5523 11.5531 13.9992 11 13.9992H3C2.44688 13.9992 2 13.5523 2 12.9992V10.9992Z"
|
|
52
|
+
fill="#0277BD" />
|
|
53
|
+
</svg>
|
|
54
|
+
{{/if}}
|
|
40
55
|
<span>Share</span>
|
|
41
56
|
</button>
|
|
42
57
|
<div class="dropdown-menu" aria-labelledby="dropdownShareLinks">
|
|
43
|
-
<div class="a2a_kit a2a_kit_size_32 a2a_default_style"
|
|
58
|
+
<div class="a2a_kit a2a_kit_size_32 a2a_default_style"
|
|
59
|
+
data-a2a-url="https://www-uat1.dev.wickes.co.uk/project-list/be91b064-13ad-4e27-b51d-67e77a53f430"
|
|
60
|
+
data-a2a-title="Please check my Wickes project list" style="line-height: 32px;">
|
|
44
61
|
<ul class="socials__list">
|
|
45
62
|
<li class="socials__item">
|
|
46
|
-
<a type="button" href="#" class="a2a_button_email" data-toggle="modal"
|
|
63
|
+
<a type="button" href="#" class="a2a_button_email" data-toggle="modal"
|
|
64
|
+
data-target="#share-list-modal"></a>
|
|
47
65
|
</li>
|
|
48
66
|
<li class="socials__item">
|
|
49
67
|
<a class="a2a_button_facebook" target="_blank" rel="nofollow noopener" href="/#facebook"></a>
|
|
@@ -58,9 +76,9 @@
|
|
|
58
76
|
</div>
|
|
59
77
|
</div>
|
|
60
78
|
</div>
|
|
61
|
-
<button href="#" class="btn btn_full btn-
|
|
79
|
+
<button href="#" class="btn btn_full btn-primary download-pdf">
|
|
62
80
|
<i class="fas fa-file-download icon"></i>
|
|
63
|
-
<span>Download</span>
|
|
81
|
+
<span>Download pdf</span>
|
|
64
82
|
</button>
|
|
65
83
|
</div>
|
|
66
84
|
|
|
@@ -71,7 +89,7 @@
|
|
|
71
89
|
<div class="content shop-list-info d-flex">
|
|
72
90
|
<div class="shop-list-info_item heading-4">
|
|
73
91
|
<span class="shop-list-info_count">5</span> item<span class="shop-list-info_one-item">s</span> (<span
|
|
74
|
-
|
|
92
|
+
class="shop-list-info_left">95</span> left)
|
|
75
93
|
</div>
|
|
76
94
|
</div>
|
|
77
95
|
</div>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<div class="container mb-3">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<a class="btn btn-secondary btn-back-to-project-list" href="/page_my-project-list-multiple.html">
|
|
3
|
+
<i class="fas fa-arrow-left"></i>
|
|
4
|
+
<span>
|
|
5
5
|
Back to Project Lists hub
|
|
6
6
|
</span>
|
|
7
|
-
|
|
7
|
+
</a>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="globalMessages container component pt-0 pb-0">
|
|
10
10
|
<div class="row">
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
<i class="fas fa-share-alt icon"></i>
|
|
65
65
|
<span>Share</span>
|
|
66
66
|
</button>
|
|
67
|
-
<button href="#" class="btn btn_full btn-secondary download-pdf
|
|
67
|
+
<button href="#" class="btn btn_full btn-secondary download-pdf">
|
|
68
68
|
<i class="fas fa-file-download icon"></i>
|
|
69
69
|
<span>Download</span>
|
|
70
70
|
</button>
|