summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/base_import.xml
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2018-08-10 11:38:35 +0200
committerDavid Monjoie <dmo@odoo.com>2018-08-16 11:19:25 +0200
commit4bed2445f6739401f2c10c71716d5381b109ba8c (patch)
tree119b92bbd87c6f2dc407659ecb2ac5efebb411d2 /addons/base_import/static/src/xml/base_import.xml
parent8fbadb9575c25e20f08637c837b386fde213203c (diff)
[FIX] base_import: fix formatting options structure
It used to work by chance with Bootstrap 3, but since we are now using Bootstrap 4, the fake good appearance collapsed, revealing the awful structure it used to have.
Diffstat (limited to 'addons/base_import/static/src/xml/base_import.xml')
-rw-r--r--addons/base_import/static/src/xml/base_import.xml42
1 files changed, 22 insertions, 20 deletions
diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml
index 3b8d8136da9..9fe066319e4 100644
--- a/addons/base_import/static/src/xml/base_import.xml
+++ b/addons/base_import/static/src/xml/base_import.xml
@@ -12,26 +12,28 @@
<div class="oe_import_with_file row">
<a href="#" class="oe_import_toggle col-sm-12">
Formatting Options…</a>
- <div class="oe_import_toggled oe_import_options js_import_options col-sm-5">
- <p t-foreach="widget.opts" t-as="option">
- <!-- no @name, avoid submission when file_update called -->
- <label t-attf-for="#{option.name}_#{_id}">
- <t t-esc="option.label"/></label>
- <input t-attf-id="#{option.name}_#{_id}"
- t-attf-class="oe_import_#{option.name}"
- t-att-value="option.value"/>
- </p>
- </div>
- <div class="oe_import_toggled oe_import_options col-md-5">
- <p t-foreach="widget.parse_opts" t-as="option">
- <!-- no @name, avoid submission when file_update called -->
- <label t-attf-for="#{option.name}_#{_id}">
- <t t-esc="option.label"/></label>
- <input t-attf-id="#{option.name}_#{_id}"
- t-attf-class="oe_import_#{option.name}"
- t-att-value="option.value"/>
- </p>
- </div>
+ <div class="row">
+ <div class="oe_import_toggled oe_import_options js_import_options col-sm">
+ <p t-foreach="widget.opts" t-as="option">
+ <!-- no @name, avoid submission when file_update called -->
+ <label t-attf-for="#{option.name}_#{_id}">
+ <t t-esc="option.label"/></label>
+ <input t-attf-id="#{option.name}_#{_id}"
+ t-attf-class="oe_import_#{option.name}"
+ t-att-value="option.value"/>
+ </p>
+ </div>
+ <div t-foreach="[widget.parse_opts_formats, widget.parse_opts_separators]" t-as="options" class="oe_import_toggled oe_import_options col-sm">
+ <p t-foreach="options" t-as="option">
+ <!-- no @name, avoid submission when file_update called -->
+ <label t-attf-for="#{option.name}_#{_id}">
+ <t t-esc="option.label"/></label>
+ <input t-attf-id="#{option.name}_#{_id}"
+ t-attf-class="oe_import_#{option.name}"
+ t-att-value="option.value"/>
+ </p>
+ </div>
+ </div>
</div>
</div>