mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-09 18:58:11 +02:00
27 lines
622 B
JavaScript
27 lines
622 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.system.management')
|
|
.directive('createDestination', createDestination);
|
|
|
|
CreateDestinationController.$inject = [];
|
|
|
|
function CreateDestinationController() {
|
|
var vm = this;
|
|
}
|
|
|
|
function createDestination() {
|
|
var directive = {
|
|
'restrict': 'E',
|
|
'templateUrl': '/static/ng/resources/js/components/system-management/create-destination.directive.html',
|
|
'scope': true,
|
|
'controller': CreateDestinationController,
|
|
'controllerAs': 'vm',
|
|
'bindToController': true
|
|
};
|
|
return directive;
|
|
}
|
|
|
|
})(); |