2016-09-08 12:57:07 +00:00
|
|
|
<div ng-controller="discoverW" class="app-container">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid" role="main">
|
|
|
|
<div class="row">
|
2016-09-13 12:48:36 +00:00
|
|
|
<div class="discover-wrapper col-md-10" style="width: 100% !important;">
|
2016-09-08 12:57:07 +00:00
|
|
|
<div class="discover-content">
|
2016-09-23 08:03:25 +00:00
|
|
|
|
2016-09-09 12:51:03 +00:00
|
|
|
<div ng-show="resultState === 'none'">
|
2016-09-23 08:03:25 +00:00
|
|
|
<div class="discover-overlay" style="position: relative !important; opacity: 1 !important;">
|
2016-09-09 12:51:03 +00:00
|
|
|
<h2 aria-hidden="true"><i aria-hidden="true" class="fa fa-meh-o"></i></h2>
|
|
|
|
<h4>No results found</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-08 12:57:07 +00:00
|
|
|
|
|
|
|
<!-- loading -->
|
|
|
|
<div ng-show="resultState === 'loading'">
|
2016-09-23 08:03:25 +00:00
|
|
|
<div class="discover-overlay" style="position: relative !important; opacity: 1 !important;">
|
2016-09-08 12:57:07 +00:00
|
|
|
<h2>Searching</h2>
|
|
|
|
<div ng-show="fetchStatus">{{fetchStatus.complete}}/{{fetchStatus.total}}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- result -->
|
|
|
|
<div class="results" ng-show="resultState === 'ready'">
|
2016-09-13 12:48:36 +00:00
|
|
|
<div class="discover-timechart" ng-if="opts.timefield" ng-show="false">
|
2016-09-08 12:57:07 +00:00
|
|
|
<header>
|
|
|
|
<center class="small">
|
2016-09-09 12:51:03 +00:00
|
|
|
<span tooltip="To change the time, click the clock icon in the navigation bar">{{timeRange.from | moment}} - {{timeRange.to | moment}}</span> —
|
2016-09-08 12:57:07 +00:00
|
|
|
|
|
|
|
<span class="results-interval" ng-hide="showInterval">
|
|
|
|
<a
|
|
|
|
ng-click="toggleInterval()">
|
|
|
|
{{ intervalName }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span ng-show="showInterval" class="results-interval form-inline">
|
|
|
|
<select
|
|
|
|
class="form-control"
|
|
|
|
ng-model="state.interval"
|
|
|
|
ng-options="interval.val as interval.display for interval in intervalOptions | filter: intervalEnabled"
|
|
|
|
>
|
|
|
|
</select>
|
|
|
|
</span>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
2016-09-09 12:51:03 +00:00
|
|
|
<visualize ng-if="vis && rows.length != 0" vis="vis" ui-state="uiState" es-resp="mergedEsResp" search-source="searchSource">
|
|
|
|
</visualize>
|
2016-09-08 12:57:07 +00:00
|
|
|
</div>
|
|
|
|
|
2016-10-04 12:53:09 +00:00
|
|
|
<div class="discover-table" fixed-scroll ng-style="{ 'height': tableHeight }">
|
2016-09-09 12:51:03 +00:00
|
|
|
<doc-table hits="rows" index-pattern="indexPattern" sorting="state.sort" columns="state.columns" infinite-scroll="infiniteScroll"
|
2016-09-08 12:57:07 +00:00
|
|
|
filter="filterQuery">
|
|
|
|
</doc-table>
|
|
|
|
|
|
|
|
<div ng-if="rows.length == opts.sampleSize" class="discover-table-footer">
|
|
|
|
<center>
|
2016-09-09 12:51:03 +00:00
|
|
|
These are the first {{opts.sampleSize}} documents matching the search.
|
2016-09-08 12:57:07 +00:00
|
|
|
</center>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|