mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 11:07:46 +01:00
26 lines
598 B
JavaScript
26 lines
598 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.system.management')
|
|
.directive('systemManagement', systemManagement);
|
|
|
|
function SystemManagementController() {
|
|
var vm = this;
|
|
vm.target = 'destinations';
|
|
}
|
|
|
|
function systemManagement() {
|
|
var directive = {
|
|
'restrict': 'E',
|
|
'templateUrl': '/static/resources/js/components/system-management/system-management.directive.html',
|
|
'scope': true,
|
|
'controller': SystemManagementController,
|
|
'controllerAs': 'vm',
|
|
'bindToController': true
|
|
};
|
|
return directive;
|
|
}
|
|
|
|
})(); |