dnet-applications/apps/dhp-broker-application/src/main/resources/static/html/filterEvents.html

44 lines
1.2 KiB
HTML

<h3>Registered events (elasticsearch)</h3>
<div class="row" style="margin-top:24px;">
<div class="col-xs-12 col-md-6 col-lg-3">
<input type="text" class="form-control" ng-model="searchFilter.value" placeholder="Filter..."/>
</div>
<div class="col-xs-13 col-md-6 col-lg-9 text-right">
<form class="form-inline">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="onlyWithSubscriptions" ng-change="reloadWithCondition()" /> only with registered subscriptions
</label>
</div>
<button class="btn btn-default" ng-click="refresh()">
<span class="glyphicon glyphicon-refresh"></span>
refresh
</button>
</form>
</div>
</div>
<p>
<table class="table table-striped table-condensed" style="font-size: 12px">
<thead>
<tr>
<th>Topic</th>
<th class="text-right">Size</th>
</tr>
</thead>
<tbody>
<tr ng-if="list.length == 0">
<td class="text-center text-muted" colspan="2">
No events
</td>
</tr>
<tr ng-repeat="s in list | filter: searchFilter">
<td style="font-family: monospace">
<a href="#/events/0/50/{{s.value}}">{{s.value}}</a>
</td>
<td class="text-right">{{s.count}}</td>
</tr>
</tbody>
</table>
</p>