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"> |
| 25 | <i class="pe pe-7s-shield text-accent"></i> |
| 26 | |
| 27 | <div class="m-t-xs"> |
| 28 | <span class="c-white">{{vm.appName}}</span> |
| 29 | monitoring and administration for networks applications. |
| 30 | </div> |
| 31 | </li> |
| 32 | </ul> |
| 33 | </nav> |
| 34 | <!-- End navigation--> |
| 35 | </aside> |