mirror of
https://github.com/duplicati/duplicati.git
synced 2025-11-28 11:30:24 +08:00
This adds landing pages to restore and add, as requested in #2282 and #2293. Added the app icon, and re-arranged the text as requested in #2286
13 lines
328 B
JavaScript
13 lines
328 B
JavaScript
backupApp.controller('AddWizardController', function($scope, $location, gettextCatalog) {
|
|
|
|
$scope.selection = {
|
|
style: 'blank'
|
|
};
|
|
|
|
$scope.nextPage = function() {
|
|
if ($scope.selection.style == 'blank')
|
|
$location.path('/add');
|
|
else
|
|
$location.path('/import');
|
|
};
|
|
});
|