summaryrefslogtreecommitdiffstats
path: root/js/yui3/datatable-paginator-templates/datatable-paginator-templates-min.js
blob: 2a877afd45eb7c17fcc35c33c8c58825e7b36f51 (plain)
1
2
3
4
5
6
7
8
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/

YUI.add("datatable-paginator-templates",function(e,t){var n=new e.Template,r='<tr><td class="<%= this.wrapperClass %>" colspan="<%= this.numOfCols %>"/></tr>',i="<%= buttons %><%= this.classNames.gotoPage %><%= this.classNames.perPage %>",s='<button class="<%= this.classNames.control %> <%= this.classNames.control %>-<%= this.type %>" data-type="<%= this.type %>"><%= this.label %></button>',o='<div class="<%= this.classNames.controls %> <%= this.classNames.group %>"><%== this.buttons %></div>',u='<form action="#" class="<%= this.classNames.group %>"><label><%= this.strings.goToLabel %><input type="text" value="<%= this.page %>"><button><%= this.strings.goToAction %></button></label></form>',a='<div class="<%= this.classNames.group %> <%= this.classNames.perPage %>"><label><%= this.strings.perPage %> <select><% Y.Array.each(this.options, function (option, i) { %><option value="<%= option.value %>" <%= option.selected %>><%= option.label %></option><% }); %></select></label></div>';e.namespace("DataTable.Templates").Paginator={rowWrapper:n.compile(r),button:n.compile(s),content:n.compile(i),buttons:n.compile(o),gotoPage:n.compile(u),perPage:n.compile(a)}},"3.17.2",{requires:["template"]});