diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-07-05 13:42:58 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-07-05 13:42:58 +0200 |
| commit | 433f2fb5fce473550d35871f12b0e60460d6486c (patch) | |
| tree | 3d099c0df0b749bfed8db6163f7bc007a515c8ca /addons/base_dashboard/static/src/xml/base_dashboard.xml | |
| parent | f94300bdf49e5ee5675828fd116cbb8b1ec4cd50 (diff) | |
[ADD] homescreen application tiles
bzr revid: xmo@openerp.com-20110705114258-upkmqyzzqhebs34l
Diffstat (limited to 'addons/base_dashboard/static/src/xml/base_dashboard.xml')
| -rw-r--r-- | addons/base_dashboard/static/src/xml/base_dashboard.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/addons/base_dashboard/static/src/xml/base_dashboard.xml b/addons/base_dashboard/static/src/xml/base_dashboard.xml index 43572a5bda4..91fa13d763a 100644 --- a/addons/base_dashboard/static/src/xml/base_dashboard.xml +++ b/addons/base_dashboard/static/src/xml/base_dashboard.xml @@ -80,4 +80,22 @@ </li> </ul> </div> +<div t-name="ApplicationTiles" class="oe-dashboard-home-tiles"> + <table width="100%"> + <tr t-foreach="rows" t-as="row"> + <td t-foreach="row" t-as="application" width="33.3%"> + <div class="oe-dashboard-home-tile" + t-att-data-menuid="application.id"> + <div class="oe-dashboard-home-tile-icon"> + <img t-if="application.web_icon_data" + t-att-src="'data:image/png;base64,' + application.web_icon_data" + /><img t-if="application.web_icon_hover_data" class="hover" + t-att-src="'data:image/png;base64,' + application.web_icon_hover_data"/> + </div> + <span><t t-esc="application.name"/></span> + </div> + </td> + </tr> + </table> +</div> </template> |
