diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-01-23 19:01:12 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-01-23 19:01:12 +0530 |
| commit | 7abae86af45c310da12b09ecd34a5c5ed98e62d1 (patch) | |
| tree | 5f13b8826b205b309d6b66676996993483fef9e9 /addons/web/static/src/xml | |
| parent | db0770f1fb0e97e23a14849c543cb25cd689bcea (diff) | |
[IMP]implement css and improve code for new fields.
bzr revid: vme@tinyerp.com-20120123133112-kipziko910s43nim
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index b119e5aae3c..26ed45c8f24 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1453,9 +1453,9 @@ </table> </t> <t t-name="view_editor.row"> - <tr class="oe_view_editor_row" t-att-id="'viewedit-' + rec.id" t-att-level="rec.level" t-foreach="data" t-as="rec"> - <td class="oe_view_editor_colum" width="85%"> - <table class="oe_view_editor_tree_grid"> + <tr t-att-id="'viewedit-' + rec.id" t-att-level="rec.level" t-foreach="data" t-as="rec"> + <td width="90%"> + <table class="oe_view_editor_field"> <tr> <td width="16px" t-att-style="'background-position: ' + 20*rec.level + 'px; padding-left: ' + 20*rec.level + 'px'"> <img t-if="rec.child_id.length" t-att-id="'parentimg-' + rec.id" @@ -1469,30 +1469,24 @@ </tr> </table> </td> - <td align="left" class="oe_view_editor_colum" width="15%"> - <table width="100%"> - <tr> - <td width="20%"> - <img t-if="rec.att_list.length" - id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/> - </td> - <td width="20%"> - <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/> - </td> - <td width="20%"> - <img t-if="rec.att_list.length and !_.include(no_properties, rec.att_list[0])" - id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> - </td> - <td width="20%"> - <img t-if="rec.att_list.length" - id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/> - </td> - <td width="20%"> - <img t-if="rec.att_list.length" - id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/> - </td> - </tr> - </table> + <td width="2%"> + <img t-if="rec.att_list.length" + id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/> + </td> + <td width="2%"> + <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/> + </td> + <td width="2%"> + <img t-if="rec.att_list.length and !_.include(no_properties, rec.att_list[0])" + id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> + </td> + <td width="2%"> + <img t-if="rec.att_list.length" + id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/> + </td> + <td width="2%"> + <img t-if="rec.att_list.length" + id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/> </td> <t t-if="rec.child_id.length"> <t t-set="data" t-value="rec.child_id"/> |
