diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-10-03 14:11:37 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-10-03 14:11:37 +0200 |
| commit | f6544c801fa070403ce122d47c90644b50d8db58 (patch) | |
| tree | b1aa350a5ee5b3f065dff20ca95617843987689c /addons/base_import/static/src/xml | |
| parent | 536741bcd3871833da6be25fd9a1061fd7e053dd (diff) | |
[IMP] make import into a full-scene client action
* Correctly handle back (via history_back)
* Disable buttons when no file has been loaded yet
* Highlight import when a validation has yield no message
bzr revid: xmo@openerp.com-20121003121137-xo7lu5m5y0s7gyo1
Diffstat (limited to 'addons/base_import/static/src/xml')
| -rw-r--r-- | addons/base_import/static/src/xml/import.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/base_import/static/src/xml/import.xml b/addons/base_import/static/src/xml/import.xml index e11cce26b80..aab9482ee81 100644 --- a/addons/base_import/static/src/xml/import.xml +++ b/addons/base_import/static/src/xml/import.xml @@ -2,6 +2,16 @@ <t t-name="ImportView"> <t t-set="_id" t-value="_.uniqueId('export')"/> <form action="" method="post" enctype="multipart/form-data" class="oe_import"> + <header> + <button type="button" disabled="disabled" + class="oe_button oe_import_button oe_import_validate" + >Validate</button> + <button type="button" disabled="disabled" + class="oe_button oe_import_button oe_import_import" + >Import</button> + <span class="oe_fade">or</span> + <a class="oe_import_cancel" href="#">Cancel</a> + </header> <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/> <input type="hidden" name="import_id"/> |
