From db8e1f992cf3bc0f84f64c859751aa2dfc283f99 Mon Sep 17 00:00:00 2001 From: Rishav Date: Fri, 14 Apr 2017 13:05:07 +0530 Subject: [PATCH] pending user api, update company name with editable field, size according to make modal, and some other ui changes --- app/scripts/controllers.js | 3 + app/scripts/directives.js | 4 +- app/views/common/topnavbar.html | 2 +- app/views/fbo-Clients/fboClient.controller.js | 55 ++++++++-------- app/views/fbo-admin/dashboard.controller.js | 23 +++++-- app/views/fbo-admin/dashboard.html | 3 +- app/views/fbo-flight/flight.html | 11 ++-- app/views/fbo-flight/flightDept.controller.js | 56 ++++++++++++----- app/views/fbo-flight/flightDeptService.js | 6 +- app/views/flightDept/flightDeptController.js | 54 +++++++++------- app/views/login/login.service.js | 14 +++++ app/views/updateAllFBO/updateAllFBO.controller.js | 16 ++++- app/views/updateAllFBO/updateAllFBO.html | 7 ++- .../updateFBODept/updateFBODept.controller.js | 73 +++++++++++++++++----- app/views/updateFBODept/updateFBODept.html | 11 ++-- app/views/updateFBODept/updateFBODept.service.js | 2 + 16 files changed, 236 insertions(+), 104 deletions(-) diff --git a/app/scripts/controllers.js b/app/scripts/controllers.js index 1354200..2dcd8c5 100755 --- a/app/scripts/controllers.js +++ b/app/scripts/controllers.js @@ -12,6 +12,9 @@ function MainCtrl($scope, $location, $state, $rootScope, LoginService) { $scope.helloText = 'Welcome in SeedProject'; $scope.descriptionText = 'It is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects.'; + LoginService.getActiveUser().then(function(result) { + $scope.pendingUser = result; + }) $scope.logout = function(){ console.log("Called") LoginService.logout(); diff --git a/app/scripts/directives.js b/app/scripts/directives.js index 22002c2..d0dd772 100755 --- a/app/scripts/directives.js +++ b/app/scripts/directives.js @@ -12,9 +12,9 @@ function pageTitle($rootScope, $timeout) { link: function(scope, element) { var listener = function(event, toState, toParams, fromState, fromParams) { // Default title - load on Dashboard 1 - var title = 'Acuefuel'; + var title = 'Acufuel'; // Create your own title pattern - if (toState.data && toState.data.pageTitle) title = 'INSPINIA | ' + toState.data.pageTitle; + if (toState.data && toState.data.pageTitle) title = 'ACUFUEL | ' + toState.data.pageTitle; $timeout(function() { element.text(title); }); diff --git a/app/views/common/topnavbar.html b/app/views/common/topnavbar.html index a9a4342..70e402e 100755 --- a/app/views/common/topnavbar.html +++ b/app/views/common/topnavbar.html @@ -81,7 +81,7 @@