[IMP] css tweaks

bzr revid: mat@openerp.com-20130327132706-bqw9h1oqzh09bj50
This commit is contained in:
Martin Trigaux 2013-03-27 14:27:06 +01:00
parent a9d9385ee8
commit 6c20a6a527
2 changed files with 15 additions and 3 deletions

View File

@ -61,6 +61,18 @@
.openerp .oe_mail_wall .oe_mail_wall_aside table {
margin: 10px 0;
}
.oe_mail_wall_aside .oe_list_content tbody tr:nth-child(even) {
background-color: #fff;
}
.openerp .oe_mail_wall .oe_mail_wall_aside table td,th {
vertical-align: center;
border: none;
}
.openerp .oe_mail_wall .oe_mail_wall_aside table td.col1 { width: 25%; }
.openerp .oe_mail_wall .oe_mail_wall_aside table td.col2 { width: 20%; }
.openerp .oe_mail_wall .oe_mail_wall_aside table td.col3 { width: 45%; }
/* ... and 10% left for ranking */
.openerp .oe_mail_wall .oe_mail_wall_aside table progress {
width: 100%;
display: inline-block;

View File

@ -58,9 +58,9 @@
<tbody>
<tr t-foreach="planline.goals" t-as="goal" t-attf-class="#{goal.id == planline.own_goal_id ? 'oe_bold' : ''}">
<th><t t-esc="goal.rank" /></th>
<td><t t-esc="goal.user_name" /></td>
<td><progress t-att-value="goal.completeness" max="100" /></td>
<td>
<td class="col1"><t t-esc="goal.user_name" /></td>
<td class="col2"><progress t-att-value="goal.completeness" max="100" /></td>
<td class="col3">
<t t-esc="goal.current" />/<span t-attf-class="#{planline.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="goal.target_goal"/></span>
<t t-if="planline.type_unit"><t t-esc="planline.type_unit"/></t>
</td>