kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
47 lines (45 loc) • 1.48 kB
HTML
<div
ng-if="hits.length"
ng-class="{ loading: searchSource.activeFetchCount > 0 }">
<paginate ng-if="!infiniteScroll" list="hits" per-page="50" top-controls="true">
<table class="kbn-table table" ng-if="indexPattern">
<thead
kbn-table-header
columns="columns"
index-pattern="indexPattern"
sorting="sorting">
</thead>
<tbody>
<tr ng-repeat="row in page|limitTo:limit track by row._index+row._type+row._id+row._score"
kbn-table-row="row"
columns="columns"
sorting="sorting"
index-pattern="indexPattern"
filter="filter"
class="discover-table-row"></tr>
</tbody>
</table>
</paginate>
<table ng-if="infiniteScroll" class="kbn-table table" ng-if="indexPattern">
<thead
kbn-table-header
columns="columns"
index-pattern="indexPattern"
sorting="sorting">
</thead>
<tbody>
<tr ng-repeat="row in hits|limitTo:limit track by row._index+row._type+row._id+row._score"
kbn-table-row="row"
columns="columns"
sorting="sorting"
index-pattern="indexPattern"
filter="filter"
class="discover-table-row"></tr>
</tbody>
</table>
<kbn-infinite-scroll ng-if="infiniteScroll" more="addRows"></kbn-infinite-scroll>
</div>
<div ng-if="hits != null && !hits.length" class="table-vis-error">
<h2><i class="fa fa-meh-o"></i></h2>
<h4>No results found</h4>
</div>