3 <div class="oe-dashboard-links">
4 <button type="button" class="button oe-dashboard-link-reset" t-att-style="view.fields_view.custom_view_id ? null : 'display: none'">
5 <img src="/web/static/src/img/icons/STOCK_GOTO_FIRST.png" width="16" height="16"/>
8 <button type="button" class="button oe-dashboard-link-undo" t-att-style="view.fields_view.custom_view_id ? null : 'display: none'">
9 <img src="/web/static/src/img/icons/gtk-undo.png" width="16" height="16"/>
12 <button type="button" class="button oe-dashboard-link-change_layout">
13 <img src="/web/static/src/img/icons/gtk-edit.png" width="16" height="16"/>
14 <span>Change layout</span>
17 <table t-att-data-layout="node.attrs.style" t-attf-class="oe-dashboard oe-dashboard-layout_#{node.attrs.style}" cellspacing="0" cellpadding="0" border="0">
19 <td t-foreach="node.children" t-as="column" t-if="column.tag == 'column'"
20 t-att-id="view.element_id + '_column_' + column_index" t-attf-class="oe-dashboard-column index_#{column_index}">
22 <t t-foreach="column.children" t-as="action" t-if="action.tag == 'action'" t-call="DashBoard.action"/>
27 <t t-name="DashBoard.action">
28 <div t-att-data-id="action.attrs.name" class="oe-dashboard-action">
29 <h2 t-attf-class="oe-dashboard-action-header #{action.attrs.string ? '' : 'oe-dashboard-action-header-empty'}">
30 <t t-esc="action.attrs.string"/>
31 <t t-if="!action.attrs.string">&nbsp;</t>
32 <span class='ui-icon ui-icon-closethick'></span>
33 <span class='ui-icon ui-icon-minusthick oe-dashboard-fold' t-if="!action.attrs.fold"></span>
34 <span class='ui-icon ui-icon-plusthick oe-dashboard-fold' t-if="action.attrs.fold"></span>
36 <div t-attf-id="#{view.element_id}_action_#{column_index}_#{action_index}" class="oe-dashboard-action-content" t-att-style="action.attrs.fold ? 'display: none' : null"></div>
39 <t t-name="DashBoard.layouts">
40 <div class="oe-dashboard-layout-selector">
42 <strong>Choose dashboard layout</strong>
45 <li t-foreach="'1 1-1 1-1-1 1-2 2-1'.split(' ')" t-as="layout" t-att-data-layout="layout">
46 <img t-attf-src="/web_dashboard/static/src/img/layout_#{layout}.png"/>
47 <img t-if="layout == current_layout"
48 src="/web/static/src/img/icons/gtk-apply.png" width="16" height="16" class="oe-selected-layout"/>
53 <t t-name="DashBoard.xml">
54 <form t-att-string="form_title">
55 <board t-att-style="style">
56 <column t-foreach="columns" t-as="column">
57 <action t-foreach="column" t-as="action" t-att="action"/>
62 <div t-name="ConfigOverview" class="oe-dashboard-config-overview"/>
63 <t t-name="ConfigOverview.content">
64 <div class="oe-config-progress">
65 <h6 class="oe-config-progress-title">
66 progress: <t t-esc="Math.round(completion)"/>%
68 <div class="oe-config-progress-bar" t-att-data-completion="completion"/>
71 <t t-foreach="groups" t-as="category">
72 <dt><t t-esc="category"/></dt>
74 <li t-foreach="category_value" t-as="todo"
75 t-att-class="todo.done ? 'oe-done' : undefined"
76 t-att-data-id="todo.id"
77 t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined">
78 <input type="checkbox" t-att-value="todo.id"
79 t-att-title="!todo.done ? 'Mark this task as done' : undefined"
80 t-att-checked="todo.done ? 'checked' : undefined"/>
81 <t t-esc="todo.name"/>
88 <div t-name="ApplicationTiles" class="oe-dashboard-home-tiles"/>
89 <table t-name="ApplicationTiles.content" width="100%">
90 <tr t-foreach="rows" t-as="row">
91 <td t-foreach="row" t-as="application" width="33.3%">
92 <div class="oe-dashboard-home-tile"
93 t-att-data-menuid="application.id">
94 <div class="oe-dashboard-home-tile-icon">
95 <img t-if="application.web_icon_data"
96 t-att-src="'data:image/png;base64,' + application.web_icon_data"
97 /><img t-if="application.web_icon_hover_data" class="hover"
98 t-att-src="'data:image/png;base64,' + application.web_icon_hover_data"/>
100 <span><t t-esc="application.name"/></span>
105 <div t-name="HomeWidget" class="oe-dashboard-home-widget"/>
106 <t t-name="HomeWidget.content">
107 <h3><t t-esc="widget.title"/></h3>
108 <iframe width="100%" frameborder="0" t-att-src="url"/>
110 <div t-name="StaticHome" class="oe-static-home">
111 <h1>Welcome to your new OpenERP instance.</h1>
112 <div class="oe-static-home-banner">
113 <li>Remember to bookmark this page.</li>
114 <li>Remember your login: <t t-esc="session.username"/></li>
115 <li>Choose the first OpenERP Application you want to install..</li>
117 <div class="oe-static-home-tiles">
119 <tr t-foreach="rows" t-as="row">
120 <td t-foreach="row" t-as="application" width="25%">
121 <table class="oe-static-home-tile">
124 <div class="oe-static-home-tile-logo">
125 <img t-att-src="'/web_dashboard/static/src/img/installer_' + application.module + '.png'"/>
129 <div class="oe-static-home-tile-text">
130 <h2><t t-esc="application.name"/></h2>
131 <p><t t-esc="application.help"/></p>
132 <button type="button" t-att-value="application.module" t-att-data-menu="application.menu">Install</button>