Tweak to searchview layout

bzr revid: mit@openerp.com-20120531111612-hyr8tj6e5sutvd4g
This commit is contained in:
Minh Tran 2012-05-31 13:16:12 +02:00
parent 4abc07e5b8
commit a97180270b
3 changed files with 13 additions and 8 deletions

View File

@ -1429,6 +1429,9 @@
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section form button {
margin: 0 0 8px 0;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom {
padding: 0 8px 8px 8px;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom form {
display: none;
}

View File

@ -1127,6 +1127,7 @@ $colour4: #8a89ba
button
margin: 0 0 8px 0
.oe_searchview_custom
padding: 0 8px 8px 8px
form
display: none
li
@ -1144,7 +1145,6 @@ $colour4: #8a89ba
form
display: none
margin-top: 8px
button.oe_add_condition:before
content: "Z"
font-family: "entypoRegular" !important

View File

@ -1482,15 +1482,17 @@
<div>
<h3><span class="oe_i">M</span> Custom Filters</h3>
<ul class="oe_searchview_custom_list"/>
<div class="oe_searchview_custom">
<h4>Save current filter</h4>
<form>
<p><input id="oe_searchview_custom_input" placeholder="Filter name"/></p>
<p><input id="oe_searchview_custom_public" type="checkbox"/>
<label for="oe_searchview_custom_public">Share with all users</label></p>
<button>Save</button>
</form>
</div>
</div>
<div>
<h3>Save current search</h3>
<form>
<p><input id="oe_searchview_custom_input" placeholder="Search name"/></p>
<p><input id="oe_searchview_custom_public" type="checkbox"/>
<label for="oe_searchview_custom_public">Share with all users</label></p>
<button>Save</button>
</form>
</div>
</div>
<div t-name="SearchView.advanced" class="oe_searchview_advanced">