0
0
bleve/http/mapping/mapping_static/partials/analysis/tokenfilters.html
Steve Yen 9a09689e61 moved bleve-explorer mapping UI to bleve/http/mapping
All this work comes from Marty Schoch's bleve-explorer UI, but was
moved here for increased reusability.
2015-05-18 11:53:25 -07:00

37 lines
1.1 KiB
HTML

<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(tfname,tfval) in mapping.analysis.token_filters">
<td>{{tfname}}</td>
<td>{{tfval.type}}</td>
<td>
<div class="btn-group btn-group-xs" role="group">
<button ng-click="editTokenFilter(tfname, tfval)" type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span> Edit
</button>
<button ng-click="deleteTokenFilter(tfname)" type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Delete
</button>
</div>
</td>
</tr>
<tr ng-show="Utils.keys(mapping.analysis.token_filters).length < 1">
<td colspan="3">None</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3">
<button ng-click="newTokenFilter()" type="button" class="btn btn-sm btn-default pull-right">New Token Filter</button>
</td>
</tr>
</tfoot>
</table>