(js/css) Update generated files

pull/216/merge
InverseBot 2016-07-16 01:28:33 -04:00
parent 1a3fc0a1d2
commit 0cf0c25399
8 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
!function(){"use strict";function a(a,b,c,d,e){function f(){return e.login(h.creds).then(function(a){window.location.href===a?window.location.reload(!0):window.location.href=a},function(a){c.alert(l("Authentication Failed"),a.error)}),!1}function g(a){function b(a){this.closeDialog=function(){a.hide()}}d.show({targetEvent:a,templateUrl:"aboutBox.html",controller:b,controllerAs:"about"}),b.$inject=["$mdDialog"]}var h=this;h.creds={username:cookieUsername,password:null},h.login=f,h.showAbout=g,h.showLogin=!1,b(function(){h.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),a.$inject=["$scope","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",a)}();
!function(){"use strict";function a(a,b,c,d,e){function f(){return h.loginState="authenticating",e.login(h.creds).then(function(a){h.loginState="logged",b(function(){window.location.href===a?window.location.reload(!0):window.location.href=a},1e3)},function(a){h.loginState="error",h.errorMessage=a.error}),!1}function g(a){function b(a){this.closeDialog=function(){a.hide()}}d.show({targetEvent:a,templateUrl:"aboutBox.html",controller:b,controllerAs:"about"}),b.$inject=["$mdDialog"]}var h=this;h.creds={username:cookieUsername,password:null},h.login=f,h.loginState=!1,h.showAbout=g,h.showLogin=!1,b(function(){h.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),a.$inject=["$scope","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",a)}();
//# sourceMappingURL=Main.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["Main/Main.app.js"],"names":["LoginController","$scope","$timeout","Dialog","$mdDialog","Authentication","login","vm","creds","then","url","window","location","href","reload","msg","alert","l","error","showAbout","$event","AboutDialogController","this","closeDialog","hide","show","targetEvent","templateUrl","controller","controllerAs","$inject","username","cookieUsername","password","showLogin","angular","module"],"mappings":"CAGA,WACE,YAQA,SAASA,GAAgBC,EAAQC,EAAUC,EAAQC,EAAWC,GAU5D,QAASC,KAUP,MATAD,GAAeC,MAAMC,EAAGC,OACrBC,KAAK,SAASC,GACTC,OAAOC,SAASC,OAASH,EAC3BC,OAAOC,SAASE,QAAO,GAEvBH,OAAOC,SAASC,KAAOH,GACxB,SAASK,GACVZ,EAAOa,MAAMC,EAAE,yBAA0BF,EAAIG,UAE1C,EAGT,QAASC,GAAUC,GAQjB,QAASC,GAAsBjB,GAC7BkB,KAAKC,YAAc,WACjBnB,EAAUoB,QATdpB,EAAUqB,MACRC,YAAaN,EACbO,YAAa,gBACbC,WAAYP,EACZQ,aAAc,UAEhBR,EAAsBS,SAAW,aA7BnC,GAAIvB,GAAKe,IAETf,GAAGC,OAAUuB,SAAUC,eAAgBC,SAAU,MACjD1B,EAAGD,MAAQA,EACXC,EAAGY,UAAYA,EAEfZ,EAAG2B,WAAY,EACfhC,EAAS,WAAaK,EAAG2B,WAAY,GAAS,KAdhDC,QAAQC,OAAO,eAAgB,cAAe,wBAK9CpC,EAAgB8B,SAAW,SAAU,WAAY,SAAU,YAAa,kBAwCxEK,QACGC,OAAO,eACPR,WAAW,kBAAmB5B","file":"Main.js","sourcesContent":["/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/* JavaScript for MainUI (SOGoRootPage) */\n\n(function() {\n 'use strict';\n\n angular.module('SOGo.MainUI', ['SOGo.Common', 'SOGo.Authentication']);\n\n /**\n * @ngInject\n */\n LoginController.$inject = ['$scope', '$timeout', 'Dialog', '$mdDialog', 'Authentication'];\n function LoginController($scope, $timeout, Dialog, $mdDialog, Authentication) {\n var vm = this;\n\n vm.creds = { username: cookieUsername, password: null };\n vm.login = login;\n vm.showAbout = showAbout;\n\n vm.showLogin = false;\n $timeout(function() { vm.showLogin = true; }, 100);\n\n function login() {\n Authentication.login(vm.creds)\n .then(function(url) {\n if (window.location.href === url)\n window.location.reload(true);\n else\n window.location.href = url;\n }, function(msg) {\n Dialog.alert(l('Authentication Failed'), msg.error);\n });\n return false;\n }\n\n function showAbout($event) {\n $mdDialog.show({\n targetEvent: $event,\n templateUrl: 'aboutBox.html',\n controller: AboutDialogController,\n controllerAs: 'about'\n });\n AboutDialogController.$inject = ['$mdDialog'];\n function AboutDialogController($mdDialog) {\n this.closeDialog = function() {\n $mdDialog.hide();\n };\n }\n }\n }\n\n angular\n .module('SOGo.MainUI')\n .controller('LoginController', LoginController);\n})();\n"]}
{"version":3,"sources":["Main/Main.app.js"],"names":["LoginController","$scope","$timeout","Dialog","$mdDialog","Authentication","login","vm","loginState","creds","then","url","window","location","href","reload","msg","errorMessage","error","showAbout","$event","AboutDialogController","this","closeDialog","hide","show","targetEvent","templateUrl","controller","controllerAs","$inject","username","cookieUsername","password","showLogin","angular","module"],"mappings":"CAGA,WACE,YAQA,SAASA,GAAgBC,EAAQC,EAAUC,EAAQC,EAAWC,GAY5D,QAASC,KAiBP,MAhBAC,GAAGC,WAAa,iBAChBH,EAAeC,MAAMC,EAAGE,OACrBC,KAAK,SAASC,GACbJ,EAAGC,WAAa,SAGhBN,EAAS,WACHU,OAAOC,SAASC,OAASH,EAC3BC,OAAOC,SAASE,QAAO,GAEvBH,OAAOC,SAASC,KAAOH,GACxB,MACF,SAASK,GACVT,EAAGC,WAAa,QAChBD,EAAGU,aAAeD,EAAIE,SAEnB,EAGT,QAASC,GAAUC,GAQjB,QAASC,GAAsBjB,GAC7BkB,KAAKC,YAAc,WACjBnB,EAAUoB,QATdpB,EAAUqB,MACRC,YAAaN,EACbO,YAAa,gBACbC,WAAYP,EACZQ,aAAc,UAEhBR,EAAsBS,SAAW,aAtCnC,GAAIvB,GAAKe,IAETf,GAAGE,OAAUsB,SAAUC,eAAgBC,SAAU,MACjD1B,EAAGD,MAAQA,EACXC,EAAGC,YAAa,EAChBD,EAAGY,UAAYA,EAGfZ,EAAG2B,WAAY,EACfhC,EAAS,WAAaK,EAAG2B,WAAY,GAAS,KAhBhDC,QAAQC,OAAO,eAAgB,cAAe,wBAK9CpC,EAAgB8B,SAAW,SAAU,WAAY,SAAU,YAAa,kBAiDxEK,QACGC,OAAO,eACPR,WAAW,kBAAmB5B","file":"Main.js","sourcesContent":["/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/* JavaScript for MainUI (SOGoRootPage) */\n\n(function() {\n 'use strict';\n\n angular.module('SOGo.MainUI', ['SOGo.Common', 'SOGo.Authentication']);\n\n /**\n * @ngInject\n */\n LoginController.$inject = ['$scope', '$timeout', 'Dialog', '$mdDialog', 'Authentication'];\n function LoginController($scope, $timeout, Dialog, $mdDialog, Authentication) {\n var vm = this;\n\n vm.creds = { username: cookieUsername, password: null };\n vm.login = login;\n vm.loginState = false;\n vm.showAbout = showAbout;\n\n // Show login once everything is initialized\n vm.showLogin = false;\n $timeout(function() { vm.showLogin = true; }, 100);\n\n function login() {\n vm.loginState = 'authenticating';\n Authentication.login(vm.creds)\n .then(function(url) {\n vm.loginState = 'logged';\n\n // Let the user see the succesfull message before reloading the page\n $timeout(function() {\n if (window.location.href === url)\n window.location.reload(true);\n else\n window.location.href = url;\n }, 1000);\n }, function(msg) {\n vm.loginState = 'error';\n vm.errorMessage = msg.error;\n });\n return false;\n }\n\n function showAbout($event) {\n $mdDialog.show({\n targetEvent: $event,\n templateUrl: 'aboutBox.html',\n controller: AboutDialogController,\n controllerAs: 'about'\n });\n AboutDialogController.$inject = ['$mdDialog'];\n function AboutDialogController($mdDialog) {\n this.closeDialog = function() {\n $mdDialog.hide();\n };\n }\n }\n }\n\n angular\n .module('SOGo.MainUI')\n .controller('LoginController', LoginController);\n})();\n"]}