2016-11-17 20:57:50 +00:00
|
|
|
<div ng-controller="VisController">
|
2016-11-18 20:16:34 +00:00
|
|
|
<div ng-if="loadBeforeShow" class="app-container vis-editor vis-type-{{ vis.type.name }}" ng-style="{height:visHeight}">
|
2016-11-17 20:57:50 +00:00
|
|
|
|
|
|
|
<kbn-top-nav name="visualize" config="topNavMenu" ng-if="visSearchable">
|
|
|
|
<div class="vis-editor-info">
|
2016-11-18 20:16:34 +00:00
|
|
|
<span ng-show="newVis.id" class="vis-editor-info-title">
|
|
|
|
<span ng-bind="::newVis.title"></span>
|
2016-11-17 20:57:50 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</kbn-top-nav>
|
|
|
|
|
|
|
|
<navbar name="visualize-search">
|
|
|
|
<div class="fill bitty-modal-container">
|
|
|
|
|
|
|
|
<form ng-if="vis.type.requiresSearch && $state.linked" class="inline-form fill" name="queryInput">
|
|
|
|
<div class="typeahead">
|
|
|
|
<div class="input-group">
|
|
|
|
<input disabled type="text" class="form-control">
|
|
|
|
|
|
|
|
<button class="btn btn-default" type="submit" ng-disabled="true" aria-label="Search">
|
|
|
|
<span aria-hidden="true" class="fa fa-search"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form ng-if="vis.type.requiresSearch && !$state.linked" ng-submit="fetch()" class="inline-form fill" name="queryInput">
|
|
|
|
<div class="typeahead" kbn-typeahead="visualize">
|
|
|
|
<div class="input-group" ng-class="queryInput.$invalid ? 'has-error' : ''">
|
2016-11-18 20:16:34 +00:00
|
|
|
<input ng-model="filter.vis" parse-query kbn-typeahead-input placeholder="Search..." type="text" class="form-control">
|
2016-11-17 20:57:50 +00:00
|
|
|
|
|
|
|
<button class="btn btn-default" type="submit" ng-disabled="queryInput.$invalid" aria-label="Search">
|
|
|
|
<span aria-hidden="true" class="fa fa-search"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<kbn-typeahead-items></kbn-typeahead-items>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="button-group"></div>
|
|
|
|
</navbar>
|
|
|
|
|
|
|
|
<filter-bar state="$state"></filter-bar>
|
|
|
|
|
|
|
|
<div class="vis-editor-content">
|
|
|
|
|
|
|
|
<div class="vis-editor-canvas">
|
2016-11-18 20:16:34 +00:00
|
|
|
<visualize vis="vis" ui-state="uiState" search-source="newVis.searchSource" >
|
2016-11-17 20:57:50 +00:00
|
|
|
</visualize>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|