[IMP] Improved date widget styling
bzr revid: fme@openerp.com-20110404090047-yvmbfnnt910b553n
This commit is contained in:
parent
1c07f1dd53
commit
3cc735cc2c
|
@ -420,6 +420,10 @@ body.openerp {
|
|||
}
|
||||
.openerp input.field_date {
|
||||
background: url('../img/ui/field_calendar.png') no-repeat right center;
|
||||
background-origin: content-box;
|
||||
-moz-background-origin: content;
|
||||
-moz-background-origin: content-box;
|
||||
-webkit-background-origin: content-box;
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
|
|
|
@ -326,10 +326,10 @@
|
|||
<span t-if="attrs.help">(?)</span>
|
||||
</label>
|
||||
<div style="white-space: nowrap;" t-att-id="element_id">
|
||||
<input t-att-name="attrs.name" class="field_date"
|
||||
<input t-att-name="attrs.name" type="text" class="field_date"
|
||||
t-att-value="defaults[attrs.name] || ''"/>
|
||||
to
|
||||
<input t-att-name="attrs.name" class="field_date"
|
||||
<input t-att-name="attrs.name" type="text" class="field_date"
|
||||
t-att-value="defaults[attrs.name] || ''"/>
|
||||
<t t-if="filters.length" t-raw="filters.render(defaults)"/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue