| <!-- Custom template for Typeahead --> |
| <script type="text/ng-template" id="customTemplate.html"> |
| <a> |
| <span ng-bind-html="match.label.label | uibTypeaheadHighlight:query"></span> |
| <code class="pull-right"> |
| {{match.label.type}} |
| </code> |
| </a> |
| </script> |
| <!-- END Custom template for Typeahead --> |
| |
| <!-- Header --> |
| <nav class="navbar navbar-default navbar-fixed-top"> |
| <div class="container-fluid"> |
| <div class="navbar-header"> |
| <div id="mobile-menu"> |
| <minimaliza-menu></minimaliza-menu> |
| </div> |
| <a class="navbar-brand" href="#/"> |
| <img class="img-responsive" ng-src="{{vm.getLogo()}}" alt=""> |
| <span>v.{{vm.version}}</span> |
| </a> |
| </div> |
| <div id="navbar" class="navbar-collapse collapse"> |
| <minimaliza-menu></minimaliza-menu> |
| <form class="navbar-form navbar-left"> |
| <input |
| type="text" |
| class="form-control" |
| placeholder="Navigate routes (press 'f' to select)" |
| style="width: 275px" |
| ng-model="vm.query" |
| uib-typeahead="state for state in vm.search($viewValue) | limitTo:30" |
| typeahead-template-url="customTemplate.html" |
| typeahead-on-select="vm.routeSelected($item, $model, $label)"> |
| </form> |
| <ul class="nav navbar-nav navbar-right"> |
| <!--<li class="dropdown">--> |
| <!--<a ui-sref="main.versions">--> |
| <!--<i class="fa fa-bell"></i>--> |
| <!--<span ng-if="vm.newNotifications.length > 0" class="label label-warning pull-right">{{vm.newNotifications.length}}</span>--> |
| <!--</a>--> |
| <!--</li>--> |
| <li class=" profil-link"> |
| <a ui-sref="commonviews.login"> |
| <span class="profile-address">{{vm.userEmail}}</span> |
| <img src="../../images/profile.jpg" class="img-circle" alt=""> |
| </a> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </nav> |