Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
fba4ef6f
Commit
fba4ef6f
authored
Sep 28, 2022
by
lmf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
c84e8451
859fe45d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
232 additions
and
0 deletions
+232
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+104
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/authentication.html
+91
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/cart-items.html
+37
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
0 → 100644
View file @
fba4ef6f
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/** @var $block \Magento\Checkout\Block\Onepage */
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?>
<style
type=
"text/css"
>
.action.action-auth-toggle
{
background
:
none
;
color
:
#000
;
text-decoration
:
underline
!important
;
line-height
:
30px
;
font-family
:
Outfit-Regular
;
font-weight
:
300
;
font-size
:
16px
;
text-transform
:
uppercase
;
}
@media
(
min-width
:
1024px
)
{
.checkout-container
{
width
:
70%
;
margin
:
0
auto
;
background
:
#ffffff
;
}
}
@media
(
min-width
:
768px
){
.opc-progress-bar
{
justify-content
:
center
;
padding-left
:
80px
;
}
.authentication-wrapper
{
float
:
none
;
top
:
7.375rem
;
left
:
2rem
;
}
.opc-wrapper
{
margin-top
:
70px
;
}
.login-q-reg
{
font-weight
:
400
;
padding
:
0
;
width
:
100%
;
margin-left
:
5px
;
white-space
:
nowrap
;
font-size
:
18px
;
color
:
#666666
;
margin-right
:
20px
;
}
.action.action-auth-toggle
{
margin
:
0
;
padding
:
0
;
}
}
@media
(
max-width
:
767.98px
){
.opc-progress-bar
{
margin-top
:
100px
;
}
.authentication-wrapper
{
top
:
5.375rem
;
}
.login-q-reg
{
display
:
none
;
}
}
</style>
<div
id=
"checkout"
data-bind=
"scope:'checkout'"
class=
"checkout-container"
>
<div
id=
"checkout-loader"
data-role=
"checkout-loader"
class=
"loading-mask"
data-mage-init=
'{"checkoutLoader": {}}'
>
<div
class=
"loader"
>
<img
src=
"
<?=
$block
->
escapeUrl
(
$block
->
getViewFileUrl
(
'images/loader-1.gif'
))
?>
"
alt=
"
<?=
$block
->
escapeHtmlAttr
(
__
(
'Loading...'
))
?>
"
>
</div>
</div>
<?=
/* @noEscape */
$secureRenderer
->
renderStyleAsTag
(
"position: absolute;"
,
"#checkout-loader img"
)
?>
<!-- ko template: getTemplate() --><!-- /ko -->
<script
type=
"text/x-magento-init"
>
{
"#checkout"
:
{
"Magento_Ui/js/core/app"
:
<?=
/* @noEscape */
$block
->
getJsLayout
()
?>
}
}
</script>
<?php
$serializedCheckoutConfig
=
/* @noEscape */
$block
->
getSerializedCheckoutConfig
();
$scriptString
=
<<<script
window.checkoutConfig = {$serializedCheckoutConfig};
// Create aliases for customer.js model from customer module
window.isCustomerLoggedIn = window.checkoutConfig.isCustomerLoggedIn;
window.customerData = window.checkoutConfig.customerData;
script;
?>
<?=
/* @noEscape */
$secureRenderer
->
renderTag
(
'script'
,
[],
$scriptString
,
false
)
?>
<?php
$scriptString
=
<<<script
require([
'mage/url',
'Magento_Ui/js/block-loader'
], function(url, blockLoader) {
blockLoader("{$block->escapeJs($block->escapeUrl($block->getViewFileUrl('images/loader-1.gif')))}");
return url.setBaseUrl('{$block->escapeJs($block->escapeUrl($block->getBaseUrl()))}');
})
script;
?>
<?=
/* @noEscape */
$secureRenderer
->
renderTag
(
'script'
,
[],
$scriptString
,
false
)
?>
</div>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/authentication.html
0 → 100644
View file @
fba4ef6f
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div
class=
"authentication-wrapper"
data-block=
"authentication"
data-bind=
"visible: isActive()"
>
<span
class=
"login-q-reg"
>
Already Registered?
</span>
<button
type=
"button"
class=
"action action-auth-toggle"
data-trigger=
"authentication"
>
<span
data-bind=
"i18n: 'Sign In'"
></span>
</button>
<div
class=
"block-authentication"
style=
"display: none"
data-bind=
"mageInit: {
'Magento_Ui/js/modal/modal':{
'type': 'custom',
'modalClass': 'authentication-dropdown',
'trigger': '[data-trigger=authentication]',
'wrapperClass': 'authentication-wrapper',
'parentModalClass': '_has-modal-custom _has-auth-shown',
'responsive': true,
'responsiveClass': 'custom-slide',
'overlayClass': 'dropdown-overlay modal-custom-overlay',
'buttons': []
}}"
>
<!-- ko foreach: getRegion('before') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div
class=
"block block-customer-login"
data-bind=
"attr: {'data-label': $t('or')}"
>
<div
class=
"block-title"
>
<strong
id=
"block-customer-login-heading"
role=
"heading"
aria-level=
"2"
data-bind=
"i18n: 'Sign In'"
></strong>
</div>
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<div
class=
"block-content"
aria-labelledby=
"block-customer-login-heading"
>
<form
data-role=
"login"
data-bind=
"submit:login"
method=
"post"
>
<div
class=
"fieldset"
data-bind=
"attr: {'data-hasrequired': $t('* Required Fields')}"
>
<div
class=
"field field-email required"
>
<label
class=
"label"
for=
"login-email"
><span
data-bind=
"i18n: 'Email Address'"
></span></label>
<div
class=
"control"
>
<input
type=
"email"
class=
"input-text"
id=
"login-email"
name=
"username"
data-bind=
"attr: {autocomplete: autocomplete}"
data-validate=
"{required:true, 'validate-email':true}"
/>
</div>
</div>
<div
class=
"field field-password required"
>
<label
for=
"login-password"
class=
"label"
><span
data-bind=
"i18n: 'Password'"
></span></label>
<div
class=
"control"
>
<input
type=
"password"
class=
"input-text"
id=
"login-password"
name=
"password"
data-bind=
"attr: {autocomplete: autocomplete}"
data-validate=
"{required:true}"
autocomplete=
"off"
/>
</div>
</div>
<!-- ko foreach: getRegion('additional-login-form-fields') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div
class=
"actions-toolbar"
>
<input
name=
"context"
type=
"hidden"
value=
"checkout"
/>
<div
class=
"primary"
>
<button
type=
"submit"
class=
"action action-login secondary"
><span
data-bind=
"i18n: 'Sign In'"
></span></button>
</div>
<div
class=
"secondary"
>
<a
class=
"action action-remind"
data-bind=
"attr: { href: forgotPasswordUrl }"
>
<span
data-bind=
"i18n: 'Forgot Your Password?'"
></span>
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
app/design/frontend/Joshine/breeze/Magento_Checkout/web/template/summary/cart-items.html
0 → 100644
View file @
fba4ef6f
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div
class=
"block items-in-cart"
data-bind=
"mageInit: {'collapsible':{'closeOnOuter':false,'openedState': 'active', 'active': isItemsBlockExpanded()}}"
>
<div
class=
"title"
data-role=
"title"
>
<strong
role=
"heading"
aria-level=
"1"
>
<translate
args=
"maxCartItemsToDisplay"
if=
"maxCartItemsToDisplay < getCartLineItemsCount()"
></translate>
<translate
args=
"'of'"
if=
"maxCartItemsToDisplay < getCartLineItemsCount()"
></translate>
<span
data-bind=
"text: getCartSummaryItemsCount()"
></span>
<translate
args=
"'Item in Cart'"
if=
"getCartSummaryItemsCount() === 1"
></translate>
<translate
args=
"'Items in Cart'"
if=
"getCartSummaryItemsCount() > 1"
></translate>
</strong>
</div>
<div
class=
"content minicart-items"
data-role=
"content"
>
<div
class=
"minicart-items-wrapper"
>
<ol
class=
"minicart-items"
>
<each
args=
"items()"
>
<li
class=
"product-item"
>
<div
class=
"product"
>
<each
args=
"$parent.elems()"
render=
""
></each>
</div>
</li>
</each>
</ol>
</div>
</div>
<div
class=
"actions-toolbar"
if=
"maxCartItemsToDisplay < getCartLineItemsCount()"
>
<div
class=
"secondary"
>
<a
class=
"action viewcart"
data-bind=
"attr: {href: cartUrl}"
>
<span
data-bind=
"i18n: 'View and Edit Cart'"
></span>
</a>
</div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment