blob: 20854b7943354f9d5d248601e9762b5efd1ee450 [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 Scandolo266907e2016-12-20 13:41:42 -080013 <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 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>