Add InPost Pay integration to admin templates
- Created a new template for the cart rule form with custom label, switch, and choice widgets. - Implemented the InPost Pay block in the order details template for displaying delivery method, APM, and VAT invoice request. - Added legacy support for the order details template to maintain compatibility with older PrestaShop versions.
This commit is contained in:
3
modules/inpostizi/views/css/admin/admin-legacy.css
Normal file
3
modules/inpostizi/views/css/admin/admin-legacy.css
Normal file
File diff suppressed because one or more lines are too long
1
modules/inpostizi/views/css/admin/admin-legacy.css.map
Normal file
1
modules/inpostizi/views/css/admin/admin-legacy.css.map
Normal file
File diff suppressed because one or more lines are too long
3
modules/inpostizi/views/css/admin/admin.css
Normal file
3
modules/inpostizi/views/css/admin/admin.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.card-body+.card-body{border-top:1px solid #dbe6e9}.inpostizi-checkboxes .form-group [class*=col-]{padding-left:0;padding-right:0}.col-form-label.w-auto{width:auto}.inpostizi-input--w-sm{max-width:200px}.inpost-izi-switch{width:100%;padding:5px 0}.inpost-izi-switch label{margin:0;font-size:12px}.inpostizi-checkboxes-options{overflow-y:auto;max-height:50vh}.inpostizi-checkboxes-options .custom-control{padding:10px 10px 10px 35px;border-bottom:1px solid #dbe6e9}.inpostizi-checkboxes-options .custom-control-label{display:block}
|
||||
|
||||
/*# sourceMappingURL=admin.css.map*/
|
||||
1
modules/inpostizi/views/css/admin/admin.css.map
Normal file
1
modules/inpostizi/views/css/admin/admin.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css/admin/admin.css","mappings":"AACA,sBACE,6BCCE,gDACE,eACA,gBAKN,uBACE,WCTA,uBACE,gBCFJ,mBACE,WACA,cAEA,yBACE,SACA,eCNJ,8BACE,gBACA,gBAEA,8CACE,4BAEA,gCAGF,oDACE,c","sources":["webpack://inpost-pay/./src/css/admin/override/_bootstrap.scss","webpack://inpost-pay/./src/css/admin/components/form/_misc.scss","webpack://inpost-pay/./src/css/admin/components/form/_input.scss","webpack://inpost-pay/./src/css/admin/components/form/_switch.scss","webpack://inpost-pay/./src/css/admin/components/form/_inpostizi-checkboxes-options.scss"],"sourcesContent":["\n.card-body + .card-body {\n border-top: 1px solid $border-color;\n}\n","\n.inpostizi-checkboxes {\n .form-group {\n [class*=\"col-\"] {\n padding-left: 0;\n padding-right: 0;\n }\n }\n}\n\n.col-form-label.w-auto {\n width: auto;\n}\n","\n.inpostizi-input {\n &--w-sm {\n max-width: 200px;\n }\n}\n","\n.inpost-izi-switch {\n width: 100%;\n padding: 5px 0;\n\n label {\n margin: 0;\n font-size: 12px;\n }\n}\n","\n.inpostizi-checkboxes-options {\n overflow-y: auto;\n max-height: 50vh;\n\n .custom-control {\n padding: 10px 10px 10px 35px;\n\n border-bottom: 1px solid $border-color;\n }\n\n .custom-control-label {\n display: block;\n }\n}\n"],"names":[],"sourceRoot":""}
|
||||
1
modules/inpostizi/views/css/admin/consents.css
Normal file
1
modules/inpostizi/views/css/admin/consents.css
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
3
modules/inpostizi/views/css/admin/gui.css
Normal file
3
modules/inpostizi/views/css/admin/gui.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.inpostizi-btn-preview__content{padding:20px 30px}.inpostizi-btn-preview__content--light{border:1px solid #dbe6e9;background:#f8f8f8}.inpostizi-btn-preview__content--dark{border:1px solid #606060;background:#6e6e6e}.inpostizi-material-choice-tree-container{padding:.625rem;border:1px solid #999}.inpostizi-material-choice-tree-container .choice-tree-actions{margin-bottom:10px;border-bottom:.063rem solid #999}.inpostizi-material-choice-tree-container ul.choice-tree{padding:0;margin:0}.inpostizi-material-choice-tree-container ul.choice-tree li{list-style:none;background:no-repeat 0 3px;background-size:12px 12px}.inpostizi-material-choice-tree-container ul.choice-tree li .checkbox,.inpostizi-material-choice-tree-container ul.choice-tree li .radio{padding-top:0;padding-left:20px}.inpostizi-material-choice-tree-container ul.choice-tree li .checkbox i.md-checkbox-control::before{width:16px;height:16px;margin-top:3px}.inpostizi-material-choice-tree-container ul.choice-tree li .checkbox input[type=checkbox]:checked+i.md-checkbox-control::after,.inpostizi-material-choice-tree-container ul.choice-tree li .checkbox input[type=checkbox]:indeterminate+i.md-checkbox-control::after{top:5px;left:3px;width:11px;height:7px}.inpostizi-material-choice-tree-container ul.choice-tree li ul{padding-left:1rem}.inpostizi-material-choice-tree-container ul.choice-tree .collapsed,.inpostizi-material-choice-tree-container ul.choice-tree .expanded{position:relative;background:none}.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.checkbox,.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.radio,.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.checkbox,.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.radio{cursor:pointer}.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.checkbox::before,.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.radio::before,.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.checkbox::before,.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.radio::before{position:absolute;top:-0.25rem;left:-0.1rem;font-family:"Material Icons",Arial,Helvetica,sans-serif;font-size:1.25rem;color:#6c868e;cursor:pointer}.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.checkbox::before,.inpostizi-material-choice-tree-container ul.choice-tree .expanded>.radio::before{content:""}.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>ul{display:none}.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.checkbox::before,.inpostizi-material-choice-tree-container ul.choice-tree .collapsed>.radio::before{content:""}
|
||||
|
||||
/*# sourceMappingURL=gui.css.map*/
|
||||
1
modules/inpostizi/views/css/admin/gui.css.map
Normal file
1
modules/inpostizi/views/css/admin/gui.css.map
Normal file
File diff suppressed because one or more lines are too long
3
modules/inpostizi/views/css/admin/hot-products.css
Normal file
3
modules/inpostizi/views/css/admin/hot-products.css
Normal file
File diff suppressed because one or more lines are too long
1
modules/inpostizi/views/css/admin/support.css
Normal file
1
modules/inpostizi/views/css/admin/support.css
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.product-add-to-cart .product-quantity{flex-wrap:wrap}.product-add-to-cart .product-quantity .inpost-izi-btn-wrapper{width:100%}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css/product.6f69cd7d93f20866f321.css","mappings":"AACE,uCACE,eAEA,+DACE,W","sources":["webpack://inpost-pay/./src/css/product.scss"],"sourcesContent":[".product-add-to-cart {\n .product-quantity {\n flex-wrap: wrap;\n\n .inpost-izi-btn-wrapper {\n width: 100%;\n }\n }\n}\n"],"names":[],"sourceRoot":""}
|
||||
Reference in New Issue
Block a user