diff --git a/app/css/main.css b/app/css/main.css index 6c56c0b..cbbc09e 100644 --- a/app/css/main.css +++ b/app/css/main.css @@ -333,3 +333,10 @@ right: 120px; /* login page css */ + +.table.vertical-center > thead > tr > th, .table.vertical-center > tbody > tr > th, .table.vertical-center > tfoot > tr > th, .table.vertical-center > thead > tr > td, .table.vertical-center > tbody > tr > td, .table.vertical-center > tfoot > tr > td{ + vertical-align: middle !important; +} +.checkLabel:last-child>span{ + display: none; +} \ No newline at end of file diff --git a/app/partials/fuelManager/fuelManager.controller.js b/app/partials/fuelManager/fuelManager.controller.js index 4c0562f..d3d39f0 100644 --- a/app/partials/fuelManager/fuelManager.controller.js +++ b/app/partials/fuelManager/fuelManager.controller.js @@ -30,7 +30,7 @@ fuelManagerService.getFullList().then(function(result) { $scope.fullJetList = result; - console.log('$scope.fullJetList', $scope.fullJetList); + // console.log('$scope.fullJetList', $scope.fullJetList); for (var i = 0; i<$scope.fullJetList.length; i++) { for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { @@ -40,7 +40,7 @@ var dday = newTime.getUTCDate(); var dyear = newTime.getUTCFullYear(); $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; - console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); + // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); } } } @@ -85,7 +85,7 @@ }) fuelManagerService.getFullList().then(function(result) { $scope.fullJetList = result; - console.log('$scope.fullJetList', $scope.fullJetList); + // console.log('$scope.fullJetList', $scope.fullJetList); for (var i = 0; i<$scope.fullJetList.length; i++) { for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { @@ -95,7 +95,7 @@ var dday = newTime.getUTCDate(); var dyear = newTime.getUTCFullYear(); $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; - console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); + // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); } } } @@ -112,7 +112,7 @@ fuelManagerService.getOptions().then(function(result) { $scope.dropOptions = result; - console.log('$scope.dropOptions', $scope.dropOptions); + // console.log('$scope.dropOptions', $scope.dropOptions); }) fuelManagerService.getAircrafts().then(function(result) { @@ -159,7 +159,7 @@ $scope.showWingspanForm = false; $scope.showTailForm = false; $scope.customMakeData = $scope.OldRampData; - console.log('$scope.customMakeData', $scope.customMakeData); + // console.log('$scope.customMakeData', $scope.customMakeData); }else if ($scope.customRampDataCraft.aircraftType === 'WINGSPAN') { $scope.showWeightForm = false; $scope.showMakeModelForm = false; @@ -220,7 +220,7 @@ $scope.openRampFeeModal = false; fuelManagerService.getFullList().then(function(result) { $scope.fullJetList = result; - console.log('$scope.fullJetList', $scope.fullJetList); + // console.log('$scope.fullJetList', $scope.fullJetList); for (var i = 0; i<$scope.fullJetList.length; i++) { for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { @@ -230,7 +230,7 @@ var dday = newTime.getUTCDate(); var dyear = newTime.getUTCFullYear(); $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; - console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); + // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); } } } @@ -245,7 +245,7 @@ $scope.deleteCustomJet = function(id){ $('#confirm1').css('display', 'block'); $scope.deleteTemplateId = id; - console.log('$scope.deleteTemplateId', id); + // console.log('$scope.deleteTemplateId', id); } $scope.saveAndCloseConfirm = function(){ @@ -254,7 +254,7 @@ fuelManagerService.deleteCustomRamp($scope.deleteTemplateId).then(function(result) { fuelManagerService.getFullList().then(function(result) { $scope.fullJetList = result; - console.log('$scope.fullJetList', $scope.fullJetList); + // console.log('$scope.fullJetList', $scope.fullJetList); for (var i = 0; i<$scope.fullJetList.length; i++) { for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { @@ -264,7 +264,7 @@ var dday = newTime.getUTCDate(); var dyear = newTime.getUTCFullYear(); $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; - console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); + //console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); } } } @@ -337,7 +337,7 @@ }, 3); $('#customTabToggle1').click(function(){ - console.log('tab 1'); + //console.log('tab 1'); $('#customTabsBody1').slideDown(); $('#customTabsBody2').slideUp(); $('#customTabsBody3').slideUp(); @@ -367,7 +367,7 @@ }) $('#customTabToggle2').click(function(){ - console.log('tab 2'); + // console.log('tab 2'); $('#customTabsBody1').slideUp(); $('#customTabsBody2').slideDown(); $('#customTabsBody3').slideUp(); @@ -397,7 +397,7 @@ }) $('#customTabToggle3').click(function(){ - console.log('tab 3'); + // console.log('tab 3'); $('#customTabsBody1').slideUp(); $('#customTabsBody2').slideUp(); $('#customTabsBody3').slideDown(); @@ -427,7 +427,7 @@ }) $('#customTabToggle4').click(function(){ - console.log('tab 4'); + // console.log('tab 4'); $('#customTabsBody1').slideUp(); $('#customTabsBody2').slideUp(); $('#customTabsBody3').slideUp(); diff --git a/app/partials/fuelManager/fuelManager.html b/app/partials/fuelManager/fuelManager.html index 30362c1..3c6b914 100644 --- a/app/partials/fuelManager/fuelManager.html +++ b/app/partials/fuelManager/fuelManager.html @@ -70,7 +70,10 @@ {{jets.size}}