diff options
| author | pankita shah (Open ERP) <shp@tinyerp.com> | 2012-10-18 18:00:26 +0530 |
|---|---|---|
| committer | pankita shah (Open ERP) <shp@tinyerp.com> | 2012-10-18 18:00:26 +0530 |
| commit | fb70d03d06ef1948d4b32b443a32ef88a515cc8d (patch) | |
| tree | 4a40ac4bbf578813441f7234a6a375182b4ac335 /addons/base_import/static/src/xml/import.xml | |
| parent | e0424795b65af18577c0e6e6434dbcda0424cc98 (diff) | |
| parent | b53d63d69e7f2f6123b4ea7b7ed6506c21cf6cd9 (diff) | |
[MREGE] merged with lp:openobject-addons
bzr revid: shp@tinyerp.com-20121018123026-nxwgfmm8yy4t18mz
Diffstat (limited to 'addons/base_import/static/src/xml/import.xml')
| -rw-r--r-- | addons/base_import/static/src/xml/import.xml | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/addons/base_import/static/src/xml/import.xml b/addons/base_import/static/src/xml/import.xml index 1c57c40c9db..4f721032d1d 100644 --- a/addons/base_import/static/src/xml/import.xml +++ b/addons/base_import/static/src/xml/import.xml @@ -21,24 +21,26 @@ class="oe_import_csv" target="_blank">.CSV</a> file to import. If you need a sample importable file, you can use the export tool to generate one.</p> - <label t-attf-for="file_#{_id}" autofocus="autofocus">CSV File:</label> - <input type="file" id-attf-id="file_#{_id}" - name="file" class="oe_import_file"/> - <button type="button" class="oe_import_file_reload"> - <img src="/web/static/src/img/icons/gtk-refresh.png"/> - </button> - <div class="oe_import_with_file"> - <a href="#" class="oe_import_toggle"> - File Format Options…</a> - <div class="oe_import_toggled oe_import_options"> - <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 class="oe_import_box"> + <label t-attf-for="file_#{_id}" autofocus="autofocus">CSV File:</label> + <input type="file" id-attf-id="file_#{_id}" + name="file" class="oe_import_file"/> + <button type="button" class="oe_import_file_reload"> + <img src="/web/static/src/img/icons/gtk-refresh.png"/> + </button> + <div class="oe_import_with_file"> + <a href="#" class="oe_import_toggle"> + File Format Options…</a> + <div class="oe_import_toggled oe_import_options"> + <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> </div> @@ -54,7 +56,7 @@ simpler especially when the file has many columns.</p> <div class="oe_import_error_report"></div> - <table class="oe_import_grid" width="100%"/> + <table class="oe_import_grid" /> <h2>Frequently Asked Questions</h2> <dl> |
