Improve text for app installation and configuration

This commit is contained in:
Johannes Zellner
2017-01-29 01:00:15 -08:00
parent 1ac7570cfb
commit 836348cbc0
4 changed files with 32 additions and 27 deletions

View File

@@ -3,6 +3,9 @@
angular.module('Application').controller('AppStoreController', ['$scope', '$location', '$timeout', '$routeParams', 'Client', 'AppStore', function ($scope, $location, $timeout, $routeParams, Client, AppStore) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
$scope.HOST_PORT_MIN = 1024;
$scope.HOST_PORT_MAX = 65535;
$scope.ready = false;
$scope.apps = [];
$scope.config = Client.getConfig();