wazuh-kibana-app/public/templates/directives/kibana-searchbar-template.html

34 lines
1.1 KiB
HTML
Raw Normal View History

<div ng-controller="kibanaSearchBar">
2016-11-21 19:00:32 +00:00
<kbn-top-nav name="searchbar" config="topNavMenu">
<div class="kibana-nav-info"></div>
</kbn-top-nav>
2016-11-21 19:00:32 +00:00
<navbar name="discover-search">
<form role="form" class="fill inline-form" ng-submit="fetch()" name="discoverSearch">
<div class="typeahead" kbn-typeahead="discover">
<div class="input-group"
ng-class="discoverSearch.$invalid ? 'has-error' : ''">
<input
parse-query
input-focus
kbn-typeahead-input
ng-model="stateQuery"
placeholder="Search..."
aria-label="Search input"
type="text"
class="form-control">
<button type="submit"
ng-disabled="discoverSearch.$invalid"
aria-label="Search">
<span aria-hidden="true" class="fa fa-search"></span></button>
</div>
<kbn-typeahead-items></kbn-typeahead-items>
</div>
</form>
<div class="button-group" role="toolbar"></div>
</navbar>
<filter-bar state="$state"></filter-bar>
</div>