Add button for backup logs

This commit is contained in:
Girish Ramakrishnan
2018-06-15 09:38:47 -07:00
parent 97465c1bd8
commit f32884b3b2
2 changed files with 16 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ app.controller('LogsController', ['$scope', '$timeout', '$location', 'Client', f
// Add built-in log types for now
$scope.logs.push({ name: 'Box', type: 'platform', value: 'box', url: Client.makeURL('/api/v1/cloudron/logs/box') });
$scope.logs.push({ name: 'Mail', type: 'platform', value: 'mail', url: Client.makeURL('/api/v1/cloudron/logs/mail') });
$scope.logs.push({ name: 'Backup', type: 'platform', value: 'backup', url: Client.makeURL('/api/v1/cloudron/logs/backup') });
$scope.error = function (error) {
console.error(error);