summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-05-21 13:18:30 +0200
committerGéry Debongnie <ged@odoo.com>2014-05-21 13:18:30 +0200
commitaec3ba08ae6b8ec50c8f1cb57ae510f567556d92 (patch)
tree2be35743232cded6a7ace549c12770fcc7f796ac /addons/web/static/src/xml/base.xml
parentcc64d1d3180a56cfef6de073f1889129b82286a2 (diff)
[IMP] improvements to inline searchview (web)
this commit splits the widget CustomFilters in two widgets: CustomReports and SaveFilter. CustomReports is the widget displaying the list of reports, and SaveFilter obviously is the Save Current Filter widget. The goal was to put the custom reports in the first column and the Save Current Filter form in the second.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 93f6ee924f7..e9ade4d14a5 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1562,6 +1562,8 @@
</div>
<div t-name="SearchViewDrawer" class="oe_searchview_drawer" style="display:none;">
+ <div class="col-md-7"></div>
+ <div class="col-md-5"></div>
</div>
<div t-name="SearchView.InputView"
@@ -1717,15 +1719,19 @@
</div>
</div>
</t>
-<div t-name="SearchView.Filters" class="oe_searchview_filters oe_searchview_section col-md-7">
+<div t-name="SearchView.Filters" class="oe_searchview_filters oe_searchview_section">
</div>
-<div t-name="SearchView.CustomFilters" class="oe_searchview_custom oe_searchview_section">
+
+<div t-name="SearchView.CustomReports" class="oe_searchview_custom oe_searchview_section">
<dl class="dl-horizontal">
- <dt><span class="oe_i">M</span> Custom Filters</dt>
+ <dt><span class="oe_i">M</span> Custom Reports</dt>
<dd><ul class="oe_searchview_custom_list"/></dd>
</dl>
+</div>
+
+ <div t-name="SearchView.SaveFilter">
<div class="oe_searchview_custom">
<h4>Save current filter</h4>
<form class="oe_form">