summaryrefslogtreecommitdiff
path: root/addons/base_dashboard/static/src/xml/base_dashboard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/base_dashboard/static/src/xml/base_dashboard.xml')
-rw-r--r--addons/base_dashboard/static/src/xml/base_dashboard.xml18
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>