mirror of https://github.com/portainer/portainer
15 lines
364 B
JavaScript
15 lines
364 B
JavaScript
angular
|
|
.module('uifordocker')
|
|
.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;
|
|
});
|