mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 21:25:55 +01:00
39 lines
721 B
JavaScript
39 lines
721 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.layout.system.management')
|
|
.controller('SystemManagementController', SystemManagementController);
|
|
|
|
function SystemManagementController() {
|
|
var vm = this;
|
|
vm.registrationOptions = [
|
|
{
|
|
'name': 'on',
|
|
'value': true
|
|
},
|
|
{
|
|
'name': 'off',
|
|
'value': false
|
|
}
|
|
];
|
|
vm.currentRegistration = {
|
|
'name': 'on',
|
|
'value': true
|
|
};
|
|
|
|
vm.changeSettings = changeSettings;
|
|
|
|
vm.selectRegistration = selectRegistration;
|
|
|
|
function selectRegistration() {
|
|
|
|
}
|
|
|
|
function changeSettings(system) {
|
|
console.log(system);
|
|
}
|
|
}
|
|
|
|
})(); |