Make app configure sections a separate view

This commit is contained in:
Johannes Zellner
2019-09-16 14:03:13 +02:00
parent 10d1a2d8e4
commit 935c92b507
3 changed files with 434 additions and 427 deletions
+1 -5
View File
@@ -39,6 +39,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
var appId = $location.path().slice('/app/'.length);
$scope.view = 'overview';
$scope.app = null;
$scope.activeTask = null;
$scope.appIsRestarting = false;
@@ -53,11 +54,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.backupsEnabled = true;
$scope.disableIndexingTemplate = '# Disable search engine indexing\n\nUser-agent: *\nDisallow: /';
$scope.scrollTo = function (elemId) {
var elem = document.getElementById(elemId);
elem.scrollIntoView();
};
$scope.display = {
busy: false,
error: {},