mirror of https://github.com/portainer/portainer
15 lines
362 B
JavaScript
15 lines
362 B
JavaScript
angular
|
|
.module('portainer')
|
|
.directive('rdWidgetTaskbar', function rdWidgetTaskbar() {
|
|
var directive = {
|
|
requires: '^rdWidget',
|
|
scope: {
|
|
classes: '@?'
|
|
},
|
|
transclude: true,
|
|
template: '<div class="widget-header"><div class="row"><div ng-class="classes" ng-transclude></div></div></div>',
|
|
restrict: 'E'
|
|
};
|
|
return directive;
|
|
});
|