diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-20 19:37:22 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-20 19:37:22 +0100 |
| commit | 09e3e3582ed93d4d908514aa50b3063e17ccd42f (patch) | |
| tree | 8ce602127f1fb0264abab80942b27858fad7872e /addons/web/static/src/xml | |
| parent | d206ee91242c74601f879e9a3a351fe72976bbf2 (diff) | |
[IMP] Improved m2o look
bzr revid: fme@openerp.com-20111220183722-ox22w2fhmus0zir3
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 55b8354d2c5..ef7437c888b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -918,7 +918,7 @@ <t t-name="FieldEmail"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> - <td width="100%" style="position: relative"> + <td width="100%"> <t t-call="FieldChar"/> </td> <td width="16"> @@ -932,7 +932,7 @@ <t t-name="FieldUrl"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> - <td width="100%" style="position: relative"> + <td width="100%"> <t t-call="FieldChar"/> </td> <td width="16"> @@ -973,15 +973,22 @@ </select> </t> <t t-name="FieldMany2One"> - <div class="oe-m2o"> - <input type="text" size="1" style="width: 100%;" - t-att-id="widget.element_id"/> - <span class="oe-m2o-drop-down-button"> - <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span> - <button class="oe-m2o-cm-button" t-att-id="widget.name + '_open'"></button> - <div t-att-id="widget.cm_id" class="contextMenu" style="display:none"> - </div> - </div> + <table cellpadding="0" cellspacing="0" border="0" width="100%"> + <tr> + <td width="100%" valign="top"> + <t t-call="FieldChar"/> + <span class="oe-m2o-drop-down-button"> + <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span> + </td> + <td> + <button class="oe_button oe_field_button oe-m2o-cm-button" t-att-id="widget.name + '_open'"> + <img t-att-src='_s + "/web/static/src/img/icons/STOCK_DIRECTORY.png"'/> + </button> + <div t-att-id="widget.cm_id" class="contextMenu" style="display:none"> + </div> + </td> + </tr> + </table> </t> <t t-name="FieldMany2One.context_menu"> <ul> |
