summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-06 10:07:10 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-06 10:07:10 +0530
commita91e66b76b14c11974429ad8a64b36e5c6f66dee (patch)
tree63be3588b48d4a3dbfef77d645ac53767ac91379 /addons/web/static/src/xml/base.xml
parentf38d0f6736f1d5e82aecbf70d64fee99f6ae0786 (diff)
[IMP]improvements to dashboard.
bzr revid: vme@tinyerp.com-20120606043710-prr9se9pz184dntx
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml25
1 files changed, 12 insertions, 13 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 2ca3aac9680..060bf29b36b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1274,16 +1274,6 @@
<p>(Any existing filter with the same name will be replaced)</p>
</div>
</t>
-<t t-name="SearchView.add_to_dashboard">
- <div class="oe_form">
- <p><b>Select Dashboard to add this filter to:</b></p>
- <select style="width: 100%; margin-right: 1em;">
- <option t-foreach="dashboards" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == selected_menu_id) || undefined"><t t-esc="menu.name"/></option>
- </select>
- <p><b>Title of new Dashboard item:</b></p>
- <input type="text" style="width: 100%; margin-right: 1em;"/>
- </div>
-</t>
<t t-name="SearchView.render_lines">
<table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0"
t-foreach="lines" t-as="line">
@@ -1422,13 +1412,22 @@
<div>
</div>
</div>
-<div t-name="SearchView.addtodashboard" class="">
+<div t-name="SearchView.addtodashboard" class="oe_searchview_advanced">
<h4>Add to Dashboard</h4>
+ <form>
<ul>
- <select class="">
- <t t-js="dict">console.warn('Unhandled widget', dict);</t>
+ <li>
+ <select title = "Select Dashboard to add this filter to" style="width: 30%; margin-right: 1em;">
+ <option t-foreach="widget.menu_data" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == widget.selected_menu_id) || undefined"><t t-esc="menu.name"/>
+ </option>
</select>
+
+ <input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text" style="width: 30%; margin-right: 1em;"/>
+ <button class="oe_apply" type="submit">save</button>
+ <a style="width: 30%;" class="searchview_extended_delete_prop button">x</a>
+ </li>
</ul>
+ </form>
</div>
<div t-name="SearchView.advanced" class="oe_searchview_advanced">
<h4>Advanced Search</h4>