blob: 587724326ab3f18c54fc7c0d611fcd6697c285fb [file] [log] [blame]
Matteo Scandolo266907e2016-12-20 13:41:42 -08001<!-- 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 Scandolo00d97892016-12-23 17:53:12 -080011 ui-sref-active="active"
12 ng-class="{'nav-container': route.children.length > 0}">
Matteo Scandolo25f6d1f2017-01-26 17:07:32 -080013 <a ng-if="route.state && !route.children" ui-sref="{{route.state}}({{route.params}})" ng-click="vm.activateRoute(route)">
Matteo Scandolo266907e2016-12-20 13:41:42 -080014 {{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">
Matteo Scandolo25f6d1f2017-01-26 17:07:32 -080021 <a ui-sref="{{childRoute.state}}({{childRoute.params}})"> {{childRoute.label}}</a>
Matteo Scandolo266907e2016-12-20 13:41:42 -080022 </li>
23 </ul>
24 </li>
25 <li class="nav-info">
Matteo Scandoloa8a6fbb2016-12-21 16:59:08 -080026 <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 Scandolo266907e2016-12-20 13:41:42 -080046 </div>
Matteo Scandolo13150452017-01-23 13:15:54 -080047 <!--<a ng-click="vm.togglePanel()" class="btn btn-success">Open XSP</a>-->
48 <!--<a ng-click="vm.addToDashboard()" class="btn btn-success">Add to home</a>-->
Matteo Scandolo266907e2016-12-20 13:41:42 -080049 </li>
50 </ul>
51 </nav>
52 <!-- End navigation-->
53</aside>