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" |
Matteo Scandolo | 00d9789 | 2016-12-23 17:53:12 -0800 | [diff] [blame] | 11 | ui-sref-active="active" |
| 12 | ng-class="{'nav-container': route.children.length > 0}"> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 13 | <a ng-if="route.state && !route.children" ui-sref="{{route.state}}" ng-click="vm.activateRoute(route)"> |
| 14 | {{route.label}} |
| 15 | </a> |
| 16 | <a ng-if="route.state && route.children" ng-click="vm.activateRoute(route)"> |
| 17 | {{route.label}}<span class="sub-nav-icon"> <i class="stroke-arrow"></i> </span> |
| 18 | </a> |
| 19 | <ul class="nav nav-second" uib-collapse="vm.isSelected(route.state, vm.navSelected)"> |
| 20 | <li ng-repeat="childRoute in route.children | orderBy:'label'" ui-sref-active="active"> |
| 21 | <a ui-sref="{{childRoute.state}}"> {{childRoute.label}}</a> |
| 22 | </li> |
| 23 | </ul> |
| 24 | </li> |
| 25 | <li class="nav-info"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 26 | <div class="row"> |
| 27 | <div class="col-sm-4"> |
| 28 | <i class="pe pe-7s-shield text-accent"></i> |
| 29 | </div> |
| 30 | <div class="col-sm-8"> |
| 31 | <h4 class="c-white">{{vm.appName}}</h4> |
| 32 | </div> |
| 33 | </div> |
| 34 | <div class="row"> |
| 35 | <div class="col-xs-12"> |
| 36 | <span class="c-white">{{vm.payoff}}</span> |
| 37 | </div> |
| 38 | </div> |
| 39 | <div class="row"> |
| 40 | <div class="col-sm-4"> |
| 41 | <i class="pe pe-7s-lock text-accent"></i> |
| 42 | </div> |
| 43 | <div class="col-sm-8"> |
| 44 | <a ng-click="vm.logout()" class="btn btn-accent btn-block btn-logout">Logout</a> |
| 45 | </div> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 46 | </div> |
Matteo Scandolo | 9d7940c | 2017-01-19 18:28:43 -0800 | [diff] [blame] | 47 | <!--<a ng-click="vm.togglePanel()" class="btn btn-success">Open XSP</a>--> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 48 | </li> |
| 49 | </ul> |
| 50 | </nav> |
| 51 | <!-- End navigation--> |
| 52 | </aside> |