Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 1 | <!-- Navigation --> |
| 2 | <aside class="navigation"> |
| 3 | <!-- Navigation--> |
| 4 | <nav> |
| 5 | <ul class="nav luna-nav"> |
| 6 | <!--<li class="nav-category">--> |
| 7 | <!--Main--> |
| 8 | <!--</li>--> |
| 9 | <li |
| 10 | ng-repeat="route in vm.routes track by $index" |
| 11 | ui-sref-active="active"> |
| 12 | <a ng-if="route.state && !route.children" ui-sref="{{route.state}}" ng-click="vm.activateRoute(route)"> |
| 13 | {{route.label}} |
| 14 | </a> |
| 15 | <a ng-if="route.state && route.children" ng-click="vm.activateRoute(route)"> |
| 16 | {{route.label}}<span class="sub-nav-icon"> <i class="stroke-arrow"></i> </span> |
| 17 | </a> |
| 18 | <ul class="nav nav-second" uib-collapse="vm.isSelected(route.state, vm.navSelected)"> |
| 19 | <li ng-repeat="childRoute in route.children | orderBy:'label'" ui-sref-active="active"> |
| 20 | <a ui-sref="{{childRoute.state}}"> {{childRoute.label}}</a> |
| 21 | </li> |
| 22 | </ul> |
| 23 | </li> |
| 24 | <li class="nav-info"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame^] | 25 | <div class="row"> |
| 26 | <div class="col-sm-4"> |
| 27 | <i class="pe pe-7s-shield text-accent"></i> |
| 28 | </div> |
| 29 | <div class="col-sm-8"> |
| 30 | <h4 class="c-white">{{vm.appName}}</h4> |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="row"> |
| 34 | <div class="col-xs-12"> |
| 35 | <span class="c-white">{{vm.payoff}}</span> |
| 36 | </div> |
| 37 | </div> |
| 38 | <div class="row"> |
| 39 | <div class="col-sm-4"> |
| 40 | <i class="pe pe-7s-lock text-accent"></i> |
| 41 | </div> |
| 42 | <div class="col-sm-8"> |
| 43 | <a ng-click="vm.logout()" class="btn btn-accent btn-block btn-logout">Logout</a> |
| 44 | </div> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 45 | </div> |
| 46 | </li> |
| 47 | </ul> |
| 48 | </nav> |
| 49 | <!-- End navigation--> |
| 50 | </aside> |