wazuh-kibana-app/public/templates/vis-template.html

55 lines
2.2 KiB
HTML
Raw Normal View History

2016-08-05 12:25:21 +00:00
<div ng-controller="VisEditorW">
2016-08-03 15:19:33 +00:00
<div ng-if="_loadVisAsync" class="app-container vis-editor vis-type-{{ vis.type.name }}" style="height: {{visHeight}}">
2016-08-02 19:18:21 +00:00
2016-08-03 15:19:33 +00:00
<kbn-top-nav name="visualize" config="topNavMenu" ng-if="visSearchable">
2016-08-02 19:18:21 +00:00
<div class="vis-editor-info">
<span ng-show="savedVis.id" class="vis-editor-info-title">
<span ng-bind="::savedVis.title"></span>
</span>
</div>
</kbn-top-nav>
2016-08-03 15:19:33 +00:00
<navbar ng-if="chrome.getVisible() && visSearchable" name="visualize-search">
2016-08-02 19:18:21 +00:00
<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' : ''">
<input ng-model="v.filter" parse-query kbn-typeahead-input placeholder="Search..." type="text" class="form-control">
2016-08-02 19:18:21 +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>
2016-08-03 15:19:33 +00:00
<filter-bar state="state" ng-if="visSearchable"></filter-bar>
2016-08-02 19:18:21 +00:00
<div class="vis-editor-content">
<div class="vis-editor-canvas" ng-class="{ embedded: !chrome.getVisible() }">
<visualize vis="vis" ui-state="uiState" show-spy-panel="chrome.getVisible()" editable-vis="editableVis" search-source="savedVis.searchSource">
</visualize>
</div>
</div>
2016-08-03 15:19:33 +00:00
</div>
2016-08-05 23:25:21 +00:00
</div>