Make app configure sections a separate view
This commit is contained in:
+1
-5
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user