Commit 2d83813352fc0decb16a30e5237594a82305f431

Authored by Rishav
1 parent 1c749689b1
Exists in master

menu highlighted focus

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
... ... @@ -9,6 +9,7 @@
9 9 checkboxClass: 'icheckbox_square-green',
10 10 radioClass: 'iradio_square-green',
11 11 });
  12 + $('.fboadmin').addClass('active');
12 13 });
13 14 $scope.userName = 'Dylan Goodwin';
14 15 $scope.essAccountId = true;
... ...
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
... ... @@ -9,6 +9,7 @@
9 9 checkboxClass: 'icheckbox_square-green',
10 10 radioClass: 'iradio_square-green',
11 11 });
  12 + $('.fboadmin').addClass('active');
12 13  
13 14 });
14 15  
... ...
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 = {};
... ...