Added search form in header to navigate routes
Change-Id: I5242fcf2c287ed60293e96a0befc8eaac3a38fdd
diff --git a/src/app/core/header/header.html b/src/app/core/header/header.html
index 0a90822..3a277e0 100644
--- a/src/app/core/header/header.html
+++ b/src/app/core/header/header.html
@@ -33,9 +33,16 @@
</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="Search data for analysis" style="width: 175px">-->
- <!--</form>-->
+ <form class="navbar-form navbar-left">
+ <input
+ type="text"
+ class="form-control"
+ placeholder="Search core models"
+ style="width: 275px"
+ ng-model="vm.query"
+ uib-typeahead="state.label for state in vm.states | filter:$viewValue | limitTo:8"
+ typeahead-on-select="vm.routeSelected($item, $model, $label)">
+ </form>
<ul class="nav navbar-nav navbar-right">
<!--<li class="dropdown">-->
<!--<a ui-sref="main.versions">-->