37 lines
1.1 KiB
HTML
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="(cfname,cfval) in mapping.analysis.char_filters">
|
||
|
<td>{{cfname}}</td>
|
||
|
<td>{{cfval.type}}</td>
|
||
|
<td>
|
||
|
<div class="btn-group btn-group-xs" role="group">
|
||
|
<button ng-click="editCharFilter(cfname, cfval)" type="button" class="btn btn-default btn-xs">
|
||
|
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span> Edit
|
||
|
</button>
|
||
|
<button ng-click="deleteCharFilter(cfname)" 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.char_filters).length < 1">
|
||
|
<td colspan="3">None</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<button ng-click="newCharFilter()" type="button" class="btn btn-sm btn-default pull-right">New Character Filter</button>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
|