@formio/bootstrap
Version:
Bootstrap templates for Form.io forms
12 lines • 1.81 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default=function(ctx) {
var __t, __p = '';
__p += '<div class="common-pagination btn-toolbar align-items-center ml-auto" role="toolbar" aria-label="Pagination" style="font-size: 13px" ' +
((__t = (ctx.component.showAddBtn ? 'style="width: 95%;"' : 'style="width: 100%;"')) == null ? '' : __t) +
'>\n <div class="items-per-page input-group mr-2 d-flex align-items-center">\n <div class="input-group-append">\n <span class="">Items per page:</span>\n </div>\n <select ref="itemsPerPage" class="mr-1" style="border: none;\n border-bottom: 1px solid black; outline: none; cursor: pointer; margin-right: 10px">\n <option value="5">5</option>\n <option value="10">10</option>\n <option value="25">25</option>\n <option value="50">50</option>\n <option value="100">100</option>\n <option value="-1">All</option>\n </select>\n </div>\n <span ref="itemsCount" class="items-count p-1">\n ' +
((__t = ( ctx.itemsCount )) == null ? '' : __t) +
'\n </span>\n <button ref="firstPage" type="button" class="btn shadow-none">\n <span aria-hidden="true" style="font-size: x-large">«</span>\n </button>\n <button ref="prevPage" type="button" class="btn shadow-none" >\n <span aria-hidden="true" style="font-size: x-large">‹</span>\n </button>\n <button ref="nextPage" type="button" class="btn shadow-none">\n <span aria-hidden="true" style="font-size: x-large">›</span>\n </button>\n <button ref="lastPage" type="button" class="btn shadow-none">\n <span aria-hidden="true" style="font-size: x-large">»</span>\n </button>\n</div>';
return __p
}