diff --git a/js/repeater-list.js b/js/repeater-list.js index 939b98233..7bb041aba 100755 --- a/js/repeater-list.js +++ b/js/repeater-list.js @@ -404,6 +404,7 @@ $.fn.repeater.Constructor.prototype.list_frozenOptionsInitialize = function () { var $checkboxes = this.$element.find('.frozen-column-wrapper .checkbox-inline'); + var $headerCheckbox = this.$element.find('.header-checkbox .checkbox-custom'); var $everyTable = this.$element.find('.repeater-list table'); var self = this; @@ -419,6 +420,7 @@ } }); + $headerCheckbox.checkbox(); $checkboxes.checkbox(); // Row checkboxes @@ -687,8 +689,14 @@ var chevUp = 'glyphicon-chevron-up'; var $div = $('
'); var checkAllID = (this.$element.attr('id')+'_' || '') + 'checkall'; - var checkBoxMarkup = '
'+ - '
'; + + var checkBoxMarkup = '
' + + '' + + '
'; + var $header = $(''); var self = this; var $both, className, sortable, $span, $spans; diff --git a/less/repeater-list.less b/less/repeater-list.less index bc5fe8cf1..6f3f416e4 100755 --- a/less/repeater-list.less +++ b/less/repeater-list.less @@ -1,5 +1,7 @@ @import "fuelux-core.less"; @mutli-select-enabled-width: 37px; + +// row checkboxes for selection and actions .selectable() { &.selectable { &:hover td, &.hovered td { @@ -142,6 +144,11 @@ border-left: none; .header-checkbox { width: @mutli-select-enabled-width; + padding-left: 12px; + + .checkbox-inline:before { + top: 0; + } } }