1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-31 03:09:44 +02:00

feat(templates): new templates capabilities (#862)

This commit is contained in:
Anthony Lapenna 2017-05-18 23:00:08 +02:00 committed by GitHub
parent c3363604ac
commit 0579251c70
10 changed files with 276 additions and 159 deletions

View file

@ -0,0 +1,13 @@
angular
.module('portainer')
.directive('rdTemplateWidget', function rdWidget() {
var directive = {
scope: {
'ngModel': '='
},
transclude: true,
template: '<div class="widget template-widget" id="template-widget" ng-transclude></div>',
restrict: 'EA'
};
return directive;
});