diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2011-09-22 15:15:13 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2011-09-22 15:15:13 +0530 |
| commit | 3e11ca62990fde34e537e233e3b099d22f8c8373 (patch) | |
| tree | ed0e48017ef2d477922aacb6b84dfd0d38fa9e74 /addons/web/static/src/xml/base.xml | |
| parent | b882e3027543304e9211a539c465b780eb5b9b8b (diff) | |
[IMP]implement code for side images in view editor and up-down tag.
bzr revid: vme@tinyerp.com-20110922094513-bhvlvfm9q5bw9dq9
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a0b4505155a..4d4efbed2a3 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1267,12 +1267,13 @@ <t t-call="view_editor.row"/> </table> </t> -<tr t-name="view_editor.row" t-att-id="'viewedit-' + rec.id " t-att-level="rec.level" t-foreach="data" t-as="rec"> - <td class="view_editor"> +<tr t-name="view_editor.row" t-att-id="'viewedit-' + rec.id" t-att-level="rec.level" t-foreach="data" t-as="rec"> + <td class="view_editor" width="85%"> <table> <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" src="/web/static/src/img/collapse.gif" width="16" height="16" border="0"/> + <img t-if="rec.child_id.length" t-att-id="'parentimg-' + rec.id" + src="/web/static/src/img/collapse.gif" width="16" height="16" border="0"/> </td> <td style="cursor: pointer;"> <a style="text-decoration:none" href="javascript:void(0);"> <t t-esc="rec.name"/> </a> @@ -1280,14 +1281,24 @@ </tr> </table> </td> - <td align="left" width="15%" class="view_editor" style="cursor: pointer;" > + <td align="left" class="view_editor" width="15%"> <table cellspacing="0" cellpadding ="0" width="100%"> <tr> - <td> <img src="/web/static/src/img/icons/gtk-add.png" border="0"/> </td> - <td> <img src="/web/static/src/img/icons/gtk-remove.png" border="0"/> </td> - <td> <img src="/web/static/src/img/icons/gtk-edit.png" border="0"/> </td> - <td> <img src="/web/static/src/img/icons/gtk-go-up.png" border="0"/> </td> - <td> <img src="/web/static/src/img/icons/gtk-go-down.png" border="0"/> </td> + <td> + <img id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/> + </td> + <td> + <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/> + </td> + <td> + <img id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> + </td> + <td> + <img id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/> + </td> + <td> + <img id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/> + </td> </tr> </table> </td> |
