summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-06-11 11:05:27 +0200
committerGéry Debongnie <ged@odoo.com>2015-06-15 16:30:34 +0200
commit01c3dfa7d25633d764ff99495271a054e75a7af2 (patch)
treeef99b66ff0d2b755fe64d3a6d44c57c63d93dda9 /addons/web/static/src/xml
parentae583ba1736a09a7d4e62a3a0619cb0575b83822 (diff)
[IMP] web: add pager widget to web client
This pager is used by the kanban view. It could be used by the list view, the form view and some others (and it is, in the enterprise edition)
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 00406837a47..27ce7dae6d4 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1946,6 +1946,15 @@
<img t-attf-src="#{prefix}/web/static/src/img/icons/#{widget.icon}.png"
t-att-alt="widget.string"/>
</button>
+
+<div t-name="Pager">
+ <span class="o-pager-value"></span>
+ <span class="btn-group btn-group-sm">
+ <button type="button" class="fa fa-chevron-left btn btn-icon o-pager-previous" accesskey="O"/>
+ <button type="button" class="fa fa-chevron-right btn btn-icon o-pager-next" accesskey="P"/>
+ </span>
+</div>
+
<button t-name="FieldToggleBoolean" type="button"
t-att-title="widget.string" class="oe_toggle_button">
<img t-attf-src="#{_s}/web/static/src/img/icons/#{widget.icon}" t-att-alt="widget.string"/>