[IMP]Improve view.

bzr revid: vba@tinyerp.com-20121029090141-eapggkys3ltbyquh
This commit is contained in:
Vijaykumar Baladaniya
2012-10-29 14:31:41 +05:30
parent e945c2d6b3
commit f22387e8c0
2 changed files with 28 additions and 17 deletions
+5 -2
View File
@@ -1,7 +1,6 @@
.oe_import{
display: inline-block;
width: 600px;
padding: 16px;
width: 100%;
}
.oe_import > p {
margin-left: 8px;
@@ -9,6 +8,9 @@
text-align: justify
}
.oe_padding {
padding: 16px;
}
/* ----------- IMPORT BOX ----------- */
.oe_import .oe_import_box{
@@ -17,6 +19,7 @@
background: #F0EEEE;
border-radius: 3px;
border: solid 1px #dddddd;
width: 600px;
}
.oe_import .oe_import_toggle{
margin-top: 8px;
+23 -15
View File
@@ -2,20 +2,28 @@
<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 oe_highlight"
>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"/>
<h2>Upload your file</h2>
<div class="oe_view_manager oe_view_manager_current" >
<div class="oe_view_manager_header oe_padding">
<h2 class="oe_view_title">
<span class="oe_view_title_text oe_breadcrumb_title">
<span class="oe_breadcrumb_item">Upload your file</span>
</span>
</h2>
<input type="hidden" name="session_id"
t-att-value="widget.session.session_id"/>
<input type="hidden" name="import_id"/>
<button type="button" disabled="disabled"
class="oe_button oe_import_button oe_import_validate oe_highlight"
>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>
</div>
</div>
<p>Select the <a
href="http://en.wikipedia.org/wiki/Comma-separated_values"
class="oe_import_csv" target="_blank">.CSV</a>
@@ -44,7 +52,7 @@
</div>
</div>
<div class="oe_import_with_file">
<div class="oe_import_with_file oe_padding">
<h2>Map your data to OpenERP</h2>
<input type="checkbox" class="oe_import_has_header"
id="oe_import_has_header" checked="checked"/>