[IMP] introduce a clearer separation between the three main parts of the view: 1) contact form, 2) offices list, 3) employees list

bzr revid: abo@openerp.com-20120629173707-zqlyi7mwellxavei
This commit is contained in:
Antonin Bourguignon 2012-06-29 19:37:07 +02:00
parent 05371d278a
commit 7df84c1d17
2 changed files with 18 additions and 9 deletions

View File

@ -4,9 +4,19 @@
margin: 0 auto;
}
/* */
/* Contact form */
.openerp .oe_portal_crm_contact .oe_portal_crm_contact_form input[type="text"] {
width: 40%;
}
/* Offices list */
.openerp .oe_portal_crm_contact .oe_portal_crm_office .oe_fold_column.oe_kanban_record {
float: none;
display: block;
width: 100%;
}
/* Employees list */
.openerp .oe_portal_crm_contact .oe_portal_crm_contact {
}

View File

@ -14,15 +14,14 @@
<tr>
<td width="70%%">
<h1>Get in touch</h1>
<group>
<field name="contact_name" string="Name"/>
<field name="name" string="Company"/>
<field name="email_from"/>
<field name="phone"/>
<field name="description" string="Your question"/>
<label string=""/>
<div class="oe_portal_crm_contact_form">
<field name="contact_name" placeholder="Name"/>
<field name="name" placeholder="Company"/>
<field name="email_from" placeholder="Email"/>
<field name="phone" placeholder="Phone"/>
<field name="description" placeholder="Your question"/>
<button string="Submit" name="submit" type="object"/>
</group>
</div>
<div class="oe_portal_crm_team">
<h1>Meet the team</h1>