[IMP] template and css

bzr revid: mat@openerp.com-20130329131454-1eyyt4mw75p1s6i2
This commit is contained in:
Martin Trigaux 2013-03-29 14:14:54 +01:00
parent 6305bfeb3c
commit 00d76ef666
2 changed files with 11 additions and 9 deletions

View File

@ -73,11 +73,11 @@
.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 {
.openerp .oe_mail_wall .oe_mail_wall_aside table progress,.oe_form_field_progressbar {
width: 100%;
display: inline-block;
}
.openerp .oe_mail_wall .oe_mail_wall_aside li progress {
.openerp .oe_mail_wall .oe_mail_wall_aside li progress,.oe_form_field_progressbar {
width: 80%;
display: inline-block;
}

View File

@ -18,22 +18,24 @@
<a class="oe_show_description" t-att-id="goal.id">?</a>
<p t-att-class="'oe_type_description oe_type_description_' + goal.id"><t t-esc="goal.type_description" /></p>
</t> -->
<p>
<t t-if="goal.type_condition == 'higher'">
<t t-if="goal.type_condition == 'higher'">
<p>
<t t-esc="goal.current" />/<span t-attf-class="#{goal.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="goal.target_goal"/></span>
<t t-if="goal.type_unit"><t t-esc="goal.type_unit"/></t>
<progress class="oe_goal_progress" t-att-value="goal.completeness" max="100"/>
</t>
<t t-if="goal.type_condition == 'lower'">
</p>
<p><progress class="oe_goal_progress" t-att-value="goal.completeness" max="100"/></p>
</t>
<t t-if="goal.type_condition == 'lower'">
<p>
<t t-esc="goal.current" /> (less than
<span t-attf-class="#{goal.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="goal.target_goal"/></span>
<t t-if="goal.type_unit"><t t-esc="goal.type_unit"/></t>
)
</t>
</p>
</t>
<!-- <a class="oe_update_goal" rol="button" t-attf-id="{goal.id}">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QMWCRMG1/sI6gAAAR1JREFUKM910T9L1nEUBfCPP39S4pAuba0FDoEhbc6CLkEUvQMb7hKFDU29gCYPNFUoiH9WRwedhBB8CS1Bg7WEKKH12PJ94GnoTJfDOece7h3TkGQCk+hxVVVnjZ/Gz6q6TqJLMvTcxRG+4l0T38MXPE0yVlW6qhoa5jCLG/jQuEXM4BOWk+hb0n2sYQVdVX1uhvc4xRbe4rBPMo4n+I7NqroYqXmFXTzEC9zpcbOt3m8CIzVhkGSvGR50GMdtDPwfZzjHoGvCUyygH9YZqQW3MIXjHr9wgFU8axdRVZJMocNjHONbV1W/sYMf+Ig3SSZb8kts4xFeV9VF19JO8GpEdNnmFSxhv6oO8M+n1zGP51X1J8lsS1/FRpIe/gIpymSOkJCtuQAAAABJRU5ErkJggg==" alt="update" />
</a> -->
</p>
</li>
</ul>
</t>