Commit 2d83813352fc0decb16a30e5237594a82305f431
1 parent
1c749689b1
Exists in
master
menu highlighted focus
Showing
5 changed files
with
10 additions
and
3 deletions
Show diff stats
app/views/common/navigation.html
... | ... | @@ -22,10 +22,10 @@ |
22 | 22 | |
23 | 23 | </li> |
24 | 24 | |
25 | - <li ui-sref-active="active"> | |
25 | + <li ui-sref-active="active" class="fboadmin"> | |
26 | 26 | <a ui-sref="index.fboAdmin"><i class="fa fa-tint"></i> <span class="nav-label">FBO Admin</span> </a> |
27 | 27 | </li> |
28 | - <li ui-sref-active="active"> | |
28 | + <li ui-sref-active="active" class="fboflight"> | |
29 | 29 | <a ui-sref="index.flightDept"><i class="fa fa-plane"></i> <span class="nav-label">Flight Dept Admin</span></a> |
30 | 30 | </li> |
31 | 31 | <li ui-sref-active="active"> | ... | ... |
app/views/fbo-admin/dashboard.controller.js
app/views/fbo-flight/flightDept.controller.js
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 | angular.module('acuefuel') |
5 | 5 | |
6 | 6 | .controller('FlightDeptController', function ($scope, $uibModal, FBOFlight) { |
7 | + $(document).ready(function(){ | |
8 | + $('.fboflight').addClass('active'); | |
9 | + }); | |
7 | 10 | $scope.data = {}; |
8 | 11 | $scope.user = {}; |
9 | 12 | $scope.aircraft = {}; | ... | ... |
app/views/updateAllFBO/updateAllFBO.controller.js
app/views/updateFBODept/updateFBODept.controller.js
... | ... | @@ -4,7 +4,9 @@ |
4 | 4 | angular.module('acuefuel') |
5 | 5 | |
6 | 6 | .controller('updateFBODeptController', function($scope, $stateParams, $state, UpdateAllFBODept, UpdateAllFBO, FBOFlight) { |
7 | - | |
7 | + $(document).ready(function(){ | |
8 | + $('.fboflight').addClass('active'); | |
9 | + }); | |
8 | 10 | $scope.showPayments = true; |
9 | 11 | $scope.aircraft = {}; |
10 | 12 | $scope.updateData = {}; | ... | ... |