diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-05-25 17:00:00 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-07-27 12:36:54 +0200 |
| commit | d48b8593dde7c6adf679359e2dd64dee288e9544 (patch) | |
| tree | d26e7a77bfd33c66157531918f066377270ef1fb /addons/payment | |
| parent | 54aee4626bd2486ff86df490e4d2350f5702f898 (diff) | |
[REF] *: BS4, 'pull-left/right' -> 'float-left/right'
Diffstat (limited to 'addons/payment')
| -rw-r--r-- | addons/payment/views/payment_portal_templates.xml | 2 | ||||
| -rw-r--r-- | addons/payment/views/payment_templates.xml | 14 | ||||
| -rw-r--r-- | addons/payment/views/payment_views.xml | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/addons/payment/views/payment_portal_templates.xml b/addons/payment/views/payment_portal_templates.xml index 76299f8bfc9..2bf24ed2bb1 100644 --- a/addons/payment/views/payment_portal_templates.xml +++ b/addons/payment/views/payment_portal_templates.xml @@ -98,7 +98,7 @@ </div> </div> <div> - <a role="button" t-attf-class="btn btn-#{status} pull-right" href="/my/home"><i class="fa fa-arrow-circle-right"/> Back to My Account</a> + <a role="button" t-attf-class="btn btn-#{status} float-right" href="/my/home"><i class="fa fa-arrow-circle-right"/> Back to My Account</a> </div> <div class="col-md-6 offset-md-6 text-muted mt16"><!-- FIXME should be in a row... --> <span t-field="tx.acquirer_id.image_small" t-att-title="tx.acquirer_id.name" role="img" t-att-aria-label="tx.acquirer_id.name" t-options='{"widget": "image", "style":"max-width: 60px; display: inline-block"}'/> diff --git a/addons/payment/views/payment_templates.xml b/addons/payment/views/payment_templates.xml index ff3902a8e51..65b00017810 100644 --- a/addons/payment/views/payment_templates.xml +++ b/addons/payment/views/payment_templates.xml @@ -65,7 +65,7 @@ </t> <span class="payment_option_name" t-esc="acq.name"/> </label> - <ul class="pull-right list-inline payment_icon_list"> + <ul class="float-right list-inline payment_icon_list"> <t t-set="i" t-value="0"/> <t t-foreach="acq.payment_icon_ids" t-as="pm_icon"> <li t-attf-class="list-inline-item#{'' if (i < MAX_BRAND_LINE) else ' d-none'}"> @@ -73,7 +73,7 @@ t-options='{"widget": "image", "alt-field": "name"}' /> </li> <li t-if="i==MAX_BRAND_LINE" style="display:block;" class="list-inline-item"> - <span class="pull-right more_option text-info"> + <span class="float-right more_option text-info"> <a href="#" class="o_payment_form_pay_icon_more" data-toggle="tooltip" t-att-title="', '.join([opt.name for opt in acq.payment_icon_ids[MAX_BRAND_LINE:]])">and more</a> </span> </li> @@ -102,7 +102,7 @@ name="pm_id" t-attf-value="form_{{acq.id}}"/> <span class="payment_icon_name" t-esc="acq.name"/> </label> - <ul class="pull-right list-inline payment_icon_list"> + <ul class="float-right list-inline payment_icon_list"> <t t-set="i" t-value="0"/> <t t-foreach="acq.payment_icon_ids" t-as="pm_icon"> <li t-attf-class="list-inline-item#{'' if (i < MAX_BRAND_LINE) else ' d-none'}"> @@ -110,7 +110,7 @@ t-options='{"widget": "image", "alt-field": "name"}' /> </li> <li t-if="i==MAX_BRAND_LINE" style="display:block;" class="list-inline-item"> - <span class="pull-right more_option text-info"> + <span class="float-right more_option text-info"> <a href="#" class="o_payment_form_pay_icon_more" data-toggle="tooltip" t-att-title="', '.join([opt.name for opt in acq.payment_icon_ids[MAX_BRAND_LINE:]])">and more</a> </span> </li> @@ -134,19 +134,19 @@ <i class="fa fa-close text-danger" title="This payment method has not been verified by our system." role="img" aria-label="Not verified"></i> </t> </label> - <button t-if="mode == 'manage'" name="delete_pm" t-att-value="pm.id" class="btn btn-primary btn-xs pull-right"> + <button t-if="mode == 'manage'" name="delete_pm" t-att-value="pm.id" class="btn btn-primary btn-xs float-right"> <i class="fa fa-trash"></i> Delete </button> </div> </t> </div> - <div t-if='back_button_txt' class="pull-left"> + <div t-if='back_button_txt' class="float-left"> <a role="button" t-att-href="back_button_link or '#'" t-att-class="back_button_class or 'btn btn-lg btn-secondary'"> <i t-if="back_button_icon_class" t-attf-class="fa {{back_button_icon_class}}"/> <t t-esc="back_button_txt"/> </a> </div> - <div class="pull-right"> + <div class="float-right"> <button t-if="mode == 'payment'" id="o_payment_form_pay" type="submit" t-att-class="submit_class if submit_class else 'btn btn-primary btn-lg mb8 mt8'"> <t t-if="submit_txt"> <i t-if="icon_class and not icon_right" t-attf-class="fa {{icon_class}}"/> diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml index e0456fdb593..280036940e8 100644 --- a/addons/payment/views/payment_views.xml +++ b/addons/payment/views/payment_views.xml @@ -153,9 +153,9 @@ <t t-if="installed"> <field name="environment" widget="label_selection" options="{'classes': {'test': 'warning', 'production': 'success'}}"/> </t> - <button t-if="!installed" type="object" class="btn btn-secondary pull-right" name="button_immediate_install">Install</button> - <button t-if="installed and !record.website_published.raw_value" type="edit" class="btn btn-primary pull-right">Activate</button> - <button t-if="installed and record.website_published.raw_value" type="edit" class="btn btn-primary pull-right">Configure</button> + <button t-if="!installed" type="object" class="btn btn-secondary float-right" name="button_immediate_install">Install</button> + <button t-if="installed and !record.website_published.raw_value" type="edit" class="btn btn-primary float-right">Activate</button> + <button t-if="installed and record.website_published.raw_value" type="edit" class="btn btn-primary float-right">Configure</button> </div> </div> </t> @@ -304,7 +304,7 @@ <span><field name="partner_name"/></span> </div> <div class="col-6"> - <span class="pull-right"> + <span class="float-right"> <field name="amount" widget="monetary"/> </span> </div> |
