3 <div class="oe_dashboard_links">
4 <button type="button" class="button oe_dashboard_link_change_layout" title="Change Layout..">
5 <img src="/board/static/src/img/layout_1-1-1.png" width="16" height="16"/>
6 <span> Change Layout </span>
9 <table t-att-data-layout="node.attrs.layout" t-attf-class="oe_dashboard oe_dashboard_layout_#{node.attrs.layout}" cellspacing="0" cellpadding="0" border="0">
11 <td t-foreach="node.children" t-as="column" t-if="column.tag == 'column'"
12 t-att-id="view.element_id + '_column_' + column_index" t-attf-class="oe_dashboard_column index_#{column_index}">
14 <t t-foreach="column.children" t-as="action" t-if="action.tag == 'action'" t-call="DashBoard.action"/>
19 <t t-name="DashBoard.action">
20 <div t-att-data-id="action.attrs.name" class="oe_action">
21 <h2 t-attf-class="oe_header #{action.attrs.string ? '' : 'oe_header_empty'}">
22 <span class="oe_header_txt"> <t t-esc="action.attrs.string"/> </span>
23 <input class = "oe_header_text" type="text"/>
24 <t t-if="!action.attrs.string">&nbsp;</t>
25 <span class='oe_icon oe_close'></span>
26 <span class='oe_icon oe_minimize oe_fold' t-if="!action.attrs.fold"></span>
27 <span class='oe_icon oe_maximize oe_fold' t-if="action.attrs.fold"></span>
30 <div t-attf-id="#{view.element_id}_action_#{column_index}_#{action_index}" class="oe_content" t-att-style="action.attrs.fold ? 'display: none' : null"></div>
33 <t t-name="DashBoard.layouts">
34 <div class="oe_dashboard_layout_selector">
36 <strong>Choose dashboard layout</strong>
39 <li t-foreach="'1 1-1 1-1-1 1-2 2-1'.split(' ')" t-as="layout" t-att-data-layout="layout">
40 <img t-attf-src="/board/static/src/img/layout_#{layout}.png"/>
41 <img t-if="layout == current_layout"
42 src="/web/static/src/img/icons/gtk-apply.png" width="16" height="16" class="oe_dashboard_selected_layout"/>
47 <t t-name="DashBoard.xml">
48 <form t-att-string="form_title">
49 <board t-att-style="style">
50 <column t-foreach="columns" t-as="column">
51 <action t-foreach="column" t-as="action" t-att="action"/>
56 <div t-name="HomeWidget" class="oe_dashboard_home_widget"/>
57 <t t-name="HomeWidget.content">
58 <h3><t t-esc="widget.title"/></h3>
59 <iframe width="100%" frameborder="0" t-att-src="url"/>
62 <t t-name="SearchView.addtodashboard">
63 <li class="add-to-dashboard closed-menu"><a>Add to my Dashboard</a></li>
64 <li class="add-to-dashboard"><input class="form-control" type="text"/></li>
65 <li class="add-to-dashboard"><button class="btn btn-default">Add</button></li>