Adding in the delete api and the delete and create UI.
This commit is contained in:
parent
43063272bb
commit
97d644d95d
12 changed files with 277 additions and 12 deletions
|
@ -31,8 +31,12 @@
|
|||
$scope.csrf_token = encodeURIComponent(window.__token);
|
||||
$scope.currentConfig = null;
|
||||
$scope.serviceKeysActive = false;
|
||||
$scope.globalMessagesActive = false;
|
||||
$scope.takeOwnershipInfo = null;
|
||||
|
||||
$scope.loadMessageOfTheDay = function () {
|
||||
$scope.globalMessagesActive = true;
|
||||
};
|
||||
$scope.configurationSaved = function(config) {
|
||||
$scope.currentConfig = config;
|
||||
$scope.requiresRestart = true;
|
||||
|
@ -69,7 +73,7 @@
|
|||
var errorHandler = ApiService.errorDisplay('Cannot load system logs. Please contact support.',
|
||||
function() {
|
||||
callback(false);
|
||||
})
|
||||
});
|
||||
|
||||
ApiService.getSystemLogs(null, params, /* background */true).then(function(resp) {
|
||||
$scope.debugLogs = resp['logs'];
|
||||
|
@ -95,7 +99,7 @@
|
|||
ApiService.getChangeLog().then(function(resp) {
|
||||
$scope.changeLog = resp;
|
||||
}, ApiService.errorDisplay('Cannot load change log. Please contact support.'))
|
||||
}
|
||||
};
|
||||
|
||||
$scope.loadUsageLogs = function() {
|
||||
$scope.logsCounter++;
|
||||
|
|
Reference in a new issue