Skip to content

Commit

Permalink
removed bs5 styles classes adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 5, 2023
1 parent 3c5af93 commit de19801
Show file tree
Hide file tree
Showing 36 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion modules/contactform/views/templates/widget/contactform.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<input type="text" name="url" value=""/>
<input type="hidden" name="token" value="{$token}" />
<input class="btn btn-primary d-none d-md-inline-block" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
<input class="btn btn-primary btn-block d-block d-md-none" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
<input class="btn btn-primary d-block text-center w-100 d-block d-md-none" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
</footer>
{/if}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary confirm-button btn-block" data-dismiss="modal" aria-label="{l s='Yes' d='Modules.Productcomments.Shop'}">
<button type="button" class="btn btn-primary confirm-button d-block text-center w-100" data-dismiss="modal" aria-label="{l s='Yes' d='Modules.Productcomments.Shop'}">
{l s='Yes' d='Modules.Productcomments.Shop'}
</button>
<button type="button" class="btn btn-text refuse-button btn-block" data-dismiss="modal" aria-label="{l s='No' d='Modules.Productcomments.Shop'}">
<button type="button" class="btn btn-text refuse-button d-block text-center w-100" data-dismiss="modal" aria-label="{l s='No' d='Modules.Productcomments.Shop'}">
{l s='No' d='Modules.Productcomments.Shop'}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title h5">{l s='Write your review' d='Modules.Productcomments.Shop'}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down Expand Up @@ -73,10 +73,10 @@
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary btn-block">
<button type="submit" class="btn btn-primary d-block text-center w-100">
{l s='Send' d='Modules.Productcomments.Shop'}
</button>
<button type="button" class="btn btn-text btn-block" data-dismiss="modal" aria-label="{l s='Cancel' d='Modules.Productcomments.Shop'}">
<button type="button" class="btn btn-text d-block text-center w-100" data-dismiss="modal" aria-label="{l s='Cancel' d='Modules.Productcomments.Shop'}">
{l s='Cancel' d='Modules.Productcomments.Shop'}
</button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions modules/ps_emailalerts/views/templates/hook/product-modal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h5 class="modal-title">{l s='Notify me when available' d='Modules.Emailalerts.Shop'}</h5>
{/block}
{block name='modal_close'}
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{/block}
Expand Down Expand Up @@ -46,7 +46,7 @@
{/block}
{block name='modal_footer'}
<div class="modal-footer {block name='modal_footer_extra_class'}{/block}">
<button class="btn btn-primary btn-block js-mailalert-submit" type="submit">
<button class="btn btn-primary d-block text-center w-100 js-mailalert-submit" type="submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{if $activeFilters|count}
<div class="clear-all-wrapper card-body">
<button data-search-url="{$clear_all_link}"
class="btn btn-sm btn-block btn-outline-secondary btn-sm js-search-filters-clear-all">
class="btn btn-sm d-block text-center w-100 btn-outline-secondary btn-sm js-search-filters-clear-all">
<i class="material-icons font-reset me-1 align-middle">&#xE14C;</i>
{l s='Clear all' d='Shop.Theme.Actions'}
</button>
Expand Down
2 changes: 1 addition & 1 deletion templates/_partials/modal-filters.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{/block}

{block name='modal_footer'}
<button type="button" class="btn btn-block btn-primary" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn d-block text-center w-100 btn-primary" data-dismiss="modal" aria-label="Close">
{l s='Show results' d='Shop.Istheme'}
</button>
{/block}
Expand Down
2 changes: 1 addition & 1 deletion templates/_partials/modal-search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{block name='modal_extra_class'}modal-fullscreen search-modal{/block}
{block name='modal_header'}{/block}
{block name='modal_body'}
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<div id="_mobile_search_from">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="product-miniature__actions">
{if $product.add_to_cart_url && ($product.quantity > 0 || $product.allow_oosp) && !$configuration.is_catalog}
<form class="product-miniature__form d-grid"
<form class="product-miniature__form"
action="{$product.add_to_cart_url}"
method="post">
<input type="hidden" name="id_product" value="{$product.id}">
Expand All @@ -11,7 +11,7 @@
class="form-control input-qty"
>
<button
class="btn btn-primary btn-block add-to-cart"
class="btn btn-primary d-block text-center w-100 add-to-cart"
data-button-action="add-to-cart"
type="submit"
{if !$product.add_to_cart_url}
Expand All @@ -23,7 +23,7 @@
</form>
{else}
<a href="{$product.canonical_url}"
class="btn btn-secondary btn-block"
class="btn btn-secondary d-block text-center w-100"
> {l s='View' d='Shop.Theme.Actions'}
</a>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion templates/catalog/_partials/product-add-to-cart.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<div class="add col mt-2 px-1 js-add-to-cart-btn-wrapper">
<button
class="btn btn-primary add-to-cart btn-block"
class="btn btn-primary add-to-cart d-block text-center w-100"
data-button-action="add-to-cart"
type="submit"
{if !$product.add_to_cart_url}
Expand Down
2 changes: 1 addition & 1 deletion templates/catalog/_partials/products-top.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<button data-target="#mobile_filters" data-toggle="modal" class="btn btn-secondary d-sm-inline-block d-none">
{l s='Filter' d='Shop.Theme.Actions'}
</button>
<button data-target="#mobile_filters" data-toggle="modal" class="btn btn-secondary btn-block d-sm-none">
<button data-target="#mobile_filters" data-toggle="modal" class="btn btn-secondary d-block text-center w-100 d-sm-none">
{l s='Filter' d='Shop.Theme.Actions'}
</button>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion templates/catalog/_partials/quickview.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="modal-header">
<h1 class="h3 modal-title">{$product.name}</h1>

<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h4>
<button type="button" class="close" data-dismiss="modal"
<button type="button" class="btn-close" data-dismiss="modal"
aria-label="{l s='Close' d='Shop.Theme.Global'}">
<span aria-hidden="true">&times;</span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/customer-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<button
class="continue btn btn-primary btn-block d-block d-md-none"
class="continue btn btn-primary text-center w-100 d-block d-md-none"
name="continue"
data-link-action="register-new-customer"
type="submit"
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/login-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<button
class="continue btn btn-primary btn-block d-block d-md-none"
class="continue btn btn-primary text-center w-100 d-block d-md-none"
name="continue"
data-link-action="sign-in"
type="submit"
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/steps/addresses.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<button type="submit" class="btn btn-primary continue d-none d-md-inline-block" name="confirm-addresses" value="1">
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<button type="submit" class="btn btn-primary continue btn-block d-block d-md-none" name="confirm-addresses" value="1">
<button type="submit" class="btn btn-primary continue text-center w-100 d-block d-md-none" name="confirm-addresses" value="1">
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<input type="hidden" id="not-valid-addresses" class="js-not-valid-addresses" value="{$not_valid_addresses}">
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/steps/payment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<button type="submit" class="btn btn-primary btn-lg d-none d-md-inline-block {if !$selected_payment_option} disabled {/if}">
{l s='Place order' d='Shop.Theme.Checkout'}
</button>
<button type="submit" class="btn btn-primary btn-lg btn-block d-block d-md-none {if !$selected_payment_option} disabled {/if}">
<button type="submit" class="btn btn-primary btn-lg text-center w-100 d-block d-md-none {if !$selected_payment_option} disabled {/if}">
{l s='Place order' d='Shop.Theme.Checkout'}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<button
class="continue btn btn-primary btn-block d-block d-md-none"
class="continue btn btn-primary text-center w-100 d-block d-md-none"
name="controller"
type="submit"
value="order"
Expand Down
2 changes: 1 addition & 1 deletion templates/checkout/_partials/steps/shipping.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<button type="submit" class="continue btn btn-primary d-none d-md-inline-block" name="confirmDeliveryOption" value="1">
{l s='Continue' d='Shop.Theme.Actions'}
</button>
<button type="submit" class="continue btn btn-primary btn-block d-block d-md-none" name="confirmDeliveryOption" value="1">
<button type="submit" class="continue btn btn-primary text-center w-100 d-block d-md-none" name="confirmDeliveryOption" value="1">
{l s='Continue' d='Shop.Theme.Actions'}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/components/modal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<h5 class="modal-title">{$smarty.block.child}</h5>
{/block}
{block name='modal_close'}
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{/block}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<button class="btn btn-primary d-none d-md-inline-block" type="submit">
{l s='Create account' d='Shop.Theme.Actions'}
</button>
<button class="btn btn-primary btn-block d-block d-md-none" type="submit">
<button class="btn btn-primary text-center w-100 d-block d-md-none" type="submit">
{l s='Create account' d='Shop.Theme.Actions'}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/_partials/address-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<button class="btn btn-primary form-control-submit d-none d-md-inline-block" type="submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
<button class="btn btn-primary form-control-submit btn-block d-block d-md-none" type="submit">
<button class="btn btn-primary form-control-submit text-center w-100 d-block d-md-none" type="submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
{/block}
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/_partials/customer-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<button class="btn btn-primary form-control-submit d-none d-md-inline-block" data-link-action="save-customer" type="submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
<button class="btn btn-primary form-control-submit btn-block d-block d-md-none" data-link-action="save-customer" type="submit">
<button class="btn btn-primary form-control-submit text-center w-100 d-block d-md-none" data-link-action="save-customer" type="submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
{/block}
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/_partials/login-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<button id="submit-login" class="btn btn-primary d-none d-md-inline-block" data-link-action="sign-in" type="submit" class="form-control-submit">
{l s='Sign in' d='Shop.Theme.Actions'}
</button>
<button id="submit-login" class="btn btn-primary btn-block d-block d-md-none" data-link-action="sign-in" type="submit" class="form-control-submit">
<button id="submit-login" class="btn btn-primary text-center w-100 d-block d-md-none" data-link-action="sign-in" type="submit" class="form-control-submit">
{l s='Sign in' d='Shop.Theme.Actions'}
</button>
{/block}
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/_partials/order-detail-return.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<button class="btn btn-primary d-none d-md-inline-block" data-toggle="modal" data-target="#order-return-modal">
{l s='Request a return' d='Shop.Theme.Customeraccount'}
</button>
<button class="btn btn-primary btn-block d-block d-md-none" data-toggle="modal" data-target="#order-return-modal">
<button class="btn btn-primary text-center w-100 d-block d-md-none" data-toggle="modal" data-target="#order-return-modal">
{l s='Request a return' d='Shop.Theme.Customeraccount'}
</button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/customer/_partials/order-details-return-modal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<h5 class="modal-title">{l s='Merchandise return' d='Shop.Theme.Customeraccount'}</h5>
{/block}
{block name='modal_close'}
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{/block}
Expand Down Expand Up @@ -47,7 +47,7 @@
<button class="form-control-submit btn btn-primary d-none d-md-inline-block" type="submit" name="submitReturnMerchandise">
{l s='Request a return' d='Shop.Theme.Customeraccount'}
</button>
<button class="form-control-submit btn btn-primary btn-block d-block d-md-none" type="submit" name="submitReturnMerchandise">
<button class="form-control-submit btn btn-primary text-center w-100 d-block d-md-none" type="submit" name="submitReturnMerchandise">
{l s='Request a return' d='Shop.Theme.Customeraccount'}
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h4>
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/_partials/order-messages.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

<footer class="form-footer text-center mt-3">
<input type="hidden" name="id_order" value="{$order.details.id}">
<button type="submit" name="submitMessage" class="btn btn-primary d-block btn-block d-md-none form-control-submit">
<button type="submit" name="submitMessage" class="btn btn-primary d-block text-center w-100 d-md-none form-control-submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
<button type="submit" name="submitMessage" class="btn btn-primary form-control-submit d-none d-md-inline-block">
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/authentication.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<a href="{$urls.pages.register}" class="btn btn-primary d-none d-md-inline-block">
{l s='I want to create an account' d='Shop.Istheme'}
</a>
<a href="{$urls.pages.register}" class="btn btn-primary btn-block d-block d-md-none">
<a href="{$urls.pages.register}" class="btn btn-primary text-center w-100 d-block d-md-none">
{l s='I want to create an account' d='Shop.Istheme'}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/guest-login.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<button class="btn btn-primary d-none d-md-inline-block" type="submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
<button class="btn btn-primary btn-block d-block d-md-none" type="submit">
<button class="btn btn-primary text-center w-100 d-block d-md-none" type="submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions templates/customer/history.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@
<div class="card-footer">
<div class="row mt-n2">
<div class="col-sm-6 mt-2">
<a class="view-order-details-link btn btn-primary btn-block btn-sm" href="{$order.details.details_url}" data-link-action="view-order-details">
<a class="view-order-details-link btn btn-primary d-block text-center w-100 btn-sm" href="{$order.details.details_url}" data-link-action="view-order-details">
{l s='Details' d='Shop.Theme.Customeraccount'}
</a>
</div>
{if $order.details.reorder_url}
<div class="col-sm-6 mt-2">
<a class="reorder-link btn btn-light btn-block btn-sm" href="{$order.details.reorder_url}" data-link-action="view-order-details">
<a class="reorder-link btn btn-light d-block text-center w-100 btn-sm" href="{$order.details.reorder_url}" data-link-action="view-order-details">
{l s='Reorder' d='Shop.Theme.Actions'}
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/customer/order-follow.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@
<div class="card-footer">
<div class="row mt-n2">
<div class="col-sm-6 mt-2">
<a class="btn btn-primary btn-block btn-sm" href="{$return.return_url}">
<a class="btn btn-primary d-block text-center w-100 btn-sm" href="{$return.return_url}">
{l s='Details' d='Shop.Theme.Customeraccount'}
</a>
</div>
{if $return.print_url}
<div class="col-sm-6 mt-2">
<a class="btn btn-light btn-block btn-sm" href="{$return.print_url}">
<a class="btn btn-light d-block text-center w-100 btn-sm" href="{$return.print_url}">
{l s='Print out' d='Shop.Theme.Actions'}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/customer/order-return.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<button type="button" class="btn-close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h4>
Expand Down
Loading

0 comments on commit de19801

Please sign in to comment.