Remove all configure bits from the app grid page
This commit is contained in:
@@ -4,6 +4,36 @@
|
||||
/* global $ */
|
||||
/* global asyncSeries */
|
||||
|
||||
|
||||
// TODO use this once we enable custom SSL certificate ui again
|
||||
// $scope.readCertificate = function (event) {
|
||||
// $scope.$apply(function () {
|
||||
// $scope.appConfigure.certificateFile = null;
|
||||
// $scope.appConfigure.certificateFileName = event.target.files[0].name;
|
||||
|
||||
// var reader = new FileReader();
|
||||
// reader.onload = function (result) {
|
||||
// if (!result.target || !result.target.result) return console.error('Unable to read local file');
|
||||
// $scope.appConfigure.certificateFile = result.target.result;
|
||||
// };
|
||||
// reader.readAsText(event.target.files[0]);
|
||||
// });
|
||||
// };
|
||||
|
||||
// $scope.readKey = function (event) {
|
||||
// $scope.$apply(function () {
|
||||
// $scope.appConfigure.keyFile = null;
|
||||
// $scope.appConfigure.keyFileName = event.target.files[0].name;
|
||||
|
||||
// var reader = new FileReader();
|
||||
// reader.onload = function (result) {
|
||||
// if (!result.target || !result.target.result) return console.error('Unable to read local file');
|
||||
// $scope.appConfigure.keyFile = result.target.result;
|
||||
// };
|
||||
// reader.readAsText(event.target.files[0]);
|
||||
// });
|
||||
// };
|
||||
|
||||
angular.module('Application').controller('AppController', ['$scope', '$location', '$timeout', '$interval', 'Client', function ($scope, $location, $timeout, $interval, Client) {
|
||||
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user