/** * @author zhixin wen * https://github.com/wenzhixin/bootstrap-table/ * theme: https://github.com/zurb/foundation-sites */ $.extend($.fn.bootstrapTable.defaults, { classes: 'table hover', buttonsPrefix: '', buttonsClass: 'button' }) $.fn.bootstrapTable.theme = 'foundation' $.BootstrapTable = class extends $.BootstrapTable { initConstants () { super.initConstants() this.constants.classes.buttonsGroup = 'button-group' this.constants.classes.buttonsDropdown = 'dropdown-container' this.constants.classes.paginationDropdown = '' this.constants.classes.dropdownActive = 'is-active' this.constants.classes.paginationActive = 'current' this.constants.classes.buttonActive = 'success' this.constants.html.toobarDropdow = ['