diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2012-10-17 18:56:46 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2012-10-17 18:56:46 +0200 |
| commit | a9d7f9ea607df75e5e9ff6a320aafe210c904083 (patch) | |
| tree | fbfba99e6fc82537de00770b5d48a3efb10a399f /addons/base_import/static/src/xml/import.xml | |
| parent | cbdb0ccf9c03fc2f9eef6b447d5c42df64ba3e4b (diff) | |
[IMP] css: improved csv import css
bzr revid: fva@openerp.com-20121017165646-8u35781nm8skhulh
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> |
