mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-04 16:13:35 +01:00
26 lines
601 B
JavaScript
26 lines
601 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/ng/resources/js/components/system-management/system-management.directive.html',
|
||
|
'scope': true,
|
||
|
'controller': SystemManagementController,
|
||
|
'controllerAs': 'vm',
|
||
|
'bindToController': true
|
||
|
};
|
||
|
return directive;
|
||
|
}
|
||
|
|
||
|
})();
|