diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-12-08 12:47:22 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-12-08 12:47:22 +0100 |
| commit | a5b31d465eae353aeee65783832f55c82670cfd9 (patch) | |
| tree | e78041c05264f051432823cb8bd34edc499c9163 /addons/web_dashboard/static/src/xml/web_dashboard.xml | |
| parent | f3d42191643159b0a27f9c370cc713055fdf4b7d (diff) | |
| parent | 4ca43cd31e4324531d2816af27d97546aafb1f1f (diff) | |
[MERGE] tiles style
bzr revid: al@openerp.com-20111208114722-1tko0x521cf3r2qk
Diffstat (limited to 'addons/web_dashboard/static/src/xml/web_dashboard.xml')
| -rw-r--r-- | addons/web_dashboard/static/src/xml/web_dashboard.xml | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 038bccd606a..d4d05f36f21 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -82,26 +82,54 @@ </dl> </t> -<div t-name="ApplicationTiles" class="oe-dashboard-home-tiles"/> + +<div t-name="HomeWidget" class="oe-dashboard-home-widget"/> +<t t-name="HomeWidget.content"> + <h3><t t-esc="widget.title"/></h3> + <iframe width="100%" frameborder="0" t-att-src="url"/> +</t> + +<div t-name="web_dashboard.ApplicationTiles.old" class="oe-dashboard-home-tiles"/> <table t-name="ApplicationTiles.content" 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"/> + <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 t-name="HomeWidget" class="oe-dashboard-home-widget"/> -<t t-name="HomeWidget.content"> - <h3><t t-esc="widget.title"/></h3> - <iframe width="100%" frameborder="0" t-att-src="url"/> + +<t t-name="web_dashboard.ApplicationTiles"> + <div class="oe_installer"> + <h1>Welcome to OpenERP</h1> + <ul> + <t t-foreach="applications" t-as="application" > + <li> + <a href="#" class="oe_install-module-link" t-att-data-module="application.module" t-att-data-menu="application.menu" > + <img t-att-src="'/web_dashboard/static/src/img/installer_' + application.module + '.png'"/> + <div><t t-esc="application.name"/></div> + </a> + </li> + </t> + </ul> + </div> </t> + +<t t-name="web_dashboard.ApplicationInstaller"> + <div class="oe_installer"> + <h1>Welcome to OpenERP</h1> + <li>Remember to bookmark this page.</li> + <li>Remember your login: <t t-esc="session.username"/></li> + <li>Choose the first OpenERP Application you want to install..</li> + <h3>Please choose the first application to install.</h3> + KANBAN HERE + </div> +</t> + </template> |
