mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
add groups feature
This commit is contained in:
parent
6fd750dad5
commit
7f5dc4c152
119 changed files with 12416 additions and 402 deletions
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* Copyright © 2019 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
|
||||
**/
|
||||
|
||||
module.exports = function() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
scope: {
|
||||
tooltipLabel: '@',
|
||||
iconStyle: '@?',
|
||||
itemsSearchStyle: '@?',
|
||||
itemsSearch: '=',
|
||||
itemsPerPageOptions: '<',
|
||||
itemsPerPage: '=',
|
||||
totalItems: '<',
|
||||
totalItemsStyle: '@?',
|
||||
currentPage: '='
|
||||
},
|
||||
template: require('./pagination.pug'),
|
||||
link: function(scope, element, attrs) {
|
||||
scope.currentPage = 1
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue