blob: c0bebe26498a9de437fbe038415271188fa35394 [file] [log] [blame]
Matteo Scandolo86bc26a2017-01-18 11:06:47 -08001<!-- Custom template for Typeahead -->
2<script type="text/ng-template" id="customTemplate.html">
3 <a>
4 <span ng-bind-html="match.label.label | uibTypeaheadHighlight:query"></span>
5 <code class="pull-right">
6 {{match.label.type}}
7 </code>
8 </a>
9</script>
10<!-- END Custom template for Typeahead -->
Matteo Scandolo266907e2016-12-20 13:41:42 -080011
12<!-- Header -->
13<nav class="navbar navbar-default navbar-fixed-top">
14 <div class="container-fluid">
15 <div class="navbar-header">
16 <div id="mobile-menu">
17 <minimaliza-menu></minimaliza-menu>
18 </div>
19 <a class="navbar-brand" href="#/">
Matteo Scandoloa8a6fbb2016-12-21 16:59:08 -080020 <img class="img-responsive" ng-src="{{vm.getLogo()}}" alt="">
21 <span>v.{{vm.version}}</span>
Matteo Scandolo266907e2016-12-20 13:41:42 -080022 </a>
23 </div>
24 <div id="navbar" class="navbar-collapse collapse">
25 <minimaliza-menu></minimaliza-menu>
Matteo Scandolo67c105f2017-01-09 09:30:52 -080026 <form class="navbar-form navbar-left">
27 <input
28 type="text"
29 class="form-control"
Matteo Scandoloac8c8c22017-01-09 15:04:32 -080030 placeholder="Navigate routes (press 'f' to select)"
Matteo Scandolo67c105f2017-01-09 09:30:52 -080031 style="width: 275px"
32 ng-model="vm.query"
Matteo Scandolo86bc26a2017-01-18 11:06:47 -080033 uib-typeahead="state for state in vm.search($viewValue) | limitTo:30"
34 typeahead-template-url="customTemplate.html"
Matteo Scandolo67c105f2017-01-09 09:30:52 -080035 typeahead-on-select="vm.routeSelected($item, $model, $label)">
36 </form>
Matteo Scandolo266907e2016-12-20 13:41:42 -080037 <ul class="nav navbar-nav navbar-right">
38 <!--<li class="dropdown">-->
39 <!--<a ui-sref="main.versions">-->
40 <!--<i class="fa fa-bell"></i>-->
41 <!--<span ng-if="vm.newNotifications.length > 0" class="label label-warning pull-right">{{vm.newNotifications.length}}</span>-->
42 <!--</a>-->
43 <!--</li>-->
44 <li class=" profil-link">
45 <a ui-sref="commonviews.login">
Matteo Scandoloa8a6fbb2016-12-21 16:59:08 -080046 <span class="profile-address">{{vm.userEmail}}</span>
Matteo Scandolo266907e2016-12-20 13:41:42 -080047 <img src="../../images/profile.jpg" class="img-circle" alt="">
48 </a>
Matteo Scandolo63e43eb2016-12-14 14:18:53 -080049 </li>
50 </ul>
51 </div>
Matteo Scandolo266907e2016-12-20 13:41:42 -080052 </div>
53</nav>