diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-12-08 23:27:36 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-12-08 23:27:36 +0100 |
| commit | a2498b9510608db7522a43975b20a2b1d115996e (patch) | |
| tree | 248f831f2fc8d790a43a3e48054a0f3e7c70db25 /addons/web_dashboard/static/src/xml/web_dashboard.xml | |
| parent | 69f685f386d2971a5d9ce85252848e3cb35a9e23 (diff) | |
| parent | df5d7f61a7aa1c90be11f17990e504e2786db00c (diff) | |
[MERGE] customer flow, ApplicationInstaller and ApplicationTiles
bzr revid: al@openerp.com-20111208222736-c28z57qacdzzow5y
Diffstat (limited to 'addons/web_dashboard/static/src/xml/web_dashboard.xml')
| -rw-r--r-- | addons/web_dashboard/static/src/xml/web_dashboard.xml | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 974ce9b393b..5d05990c917 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -83,26 +83,41 @@ </dl> </t> -<div t-name="ApplicationTiles" 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"/> - </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 t-name="ApplicationTiles.content"> + <ul class="oe_app_tiles"> + <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.id" > + <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"/> + <span><t t-esc="application.name"/></span> + </a> + </li> + </t> + </ul> +</t> + +<t t-name="web_dashboard.ApplicationTiles"> + <div> + <h1>Welcome to OpenERP</h1> + </div> +</t> + +<div t-name="web_dashboard.ApplicationInstaller"> + <ul> + <li>Remember to bookmark this page.</li> + <li>Remember your login: <t t-esc="widget.session.username"/></li> + <li>Choose the first OpenERP Application you want to install..</li> + </ul> + <h3>Please choose the first application to install.</h3> + <div class="oe_installer" /> +</div> + </template> |
