revert mit pager

bzr revid: al@openerp.com-20120410084752-c5uvflwgi93pshvo
This commit is contained in:
Antony Lesuisse 2012-04-10 10:47:52 +02:00
parent 711de6f686
commit b6f8c0f011
2 changed files with 16 additions and 26 deletions

View File

@ -126,10 +126,8 @@ $colour4: #8a89ba
font-weight: 300 !important
.oe_left
float: left
margin-right: 8px
.oe_right
float: right
margin-left: 8px
.oe_clear
clear: both
.oe_wait
@ -729,10 +727,6 @@ $colour4: #8a89ba
display: inline-block
.oe_view_manager_pager
float: right
.oe_previous:after
content: "("
.oe_next:after
content: ")"
// }}}
// ViewManager.switches {{{
.oe_view_manager_switch

View File

@ -416,24 +416,13 @@
</div>
<div class="oe_view_manager_row">
<div class="oe_view_manager_buttons"/>
<ul class="oe_view_manager_switch oe_button_group oe_right">
<t t-if="widget.views_src.length != 1" t-foreach="widget.views_src" t-as="view">
<li><a t-attf-class="oe_vm_switch_#{view.view_type} oe_i" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
</a></li>
</t>
</ul>
<ul class="oe_button_group pagination oe_right">
<li>
<a class="oe_i oe_previous" type="button" data-pager-action="previous"> </a>
</li>
<li>
<a class="oe_i oe_next" type="button" data-pager-action="next"> </a>
</li>
</ul>
<ul class="oe_view_manager_pager"/>
<div class="oe_view_manager_pager"/>
<div class="oe_view_manager_sidebar"/>
</div>
</div>
@ -488,14 +477,21 @@
</div>
</t>
<t t-name="ViewPager">
<li> <t t-raw="__content__"/> </li>
<!--<button class="oe_button oe_button_pager" type="button" data-pager-action="first">-->
<!--<img t-att-src='_s + "/web/static/src/img/pager_first.png"'/>-->
<!--</button>-->
<!--<button class="oe_button oe_button_pager" type="button" data-pager-action="last">-->
<!--<img t-att-src='_s + "/web/static/src/img/pager_last.png"'/>-->
<!--</button>-->
<button class="oe_button oe_button_pager" type="button" data-pager-action="first">
<img t-att-src='_s + "/web/static/src/img/pager_first.png"'/>
</button>
<button class="oe_button oe_button_pager" type="button" data-pager-action="previous">
<img t-att-src='_s + "/web/static/src/img/pager_previous.png"'/>
</button>
<t t-raw="__content__"/>
<button class="oe_button oe_button_pager" type="button" data-pager-action="next">
<img t-att-src='_s + "/web/static/src/img/pager_next.png"'/>
</button>
<button class="oe_button oe_button_pager" type="button" data-pager-action="last">
<img t-att-src='_s + "/web/static/src/img/pager_last.png"'/>
</button>
</t>
<t t-name="Sidebar">