diff options
| author | Minh Tran <mit@openerp.com> | 2012-04-10 02:29:09 +0200 |
|---|---|---|
| committer | Minh Tran <mit@openerp.com> | 2012-04-10 02:29:09 +0200 |
| commit | c06f170f8340fa8769e3164c7dc34e0e957e5b62 (patch) | |
| tree | 69b7d42c899efbad07761fd8e987dcbf202b53a7 /addons/web/static/src/xml/base.xml | |
| parent | 5b686e0eed0a713cc6293f67ecf694c4311370bb (diff) | |
Styling of pager
bzr revid: mit@openerp.com-20120410002909-o5cwm5stb086u2my
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 4234379b296..c63d370e249 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -416,13 +416,24 @@ </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> - <div class="oe_view_manager_pager"/> + + <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_sidebar"/> </div> </div> @@ -477,21 +488,14 @@ </div> </t> <t t-name="ViewPager"> - <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> + + <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>--> </t> <t t-name="Sidebar"> |
