0
0
bleve/http/mapping/mapping_static/partials/analysis/tokenfilter.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

34 lines
1.0 KiB
HTML

<div class="modal-header">
<h3 class="modal-title">Custom Token Filter</h3>
</div>
<div class="modal-body">
<div ng-show="errorMessage" class="alert alert-danger ng-cloak" role="alert"> {{errorMessage}}
</div>
<form class="form" role="form">
<div class="form-group">
<label for="tname">Name</label>
<input ng-model="name" type="text" class="form-control" id="tname" placeholder="Name">
</div>
<div class="form-group">
<label for="tokenfiltertype">Type</label>
<div class="col-sm-12 input-group">
<select ng-change="tokenFilterTypeChange()" ng-model="tokenfilter.type" class="form-control" id="tokenfiltertype">
<option ng-repeat="tokenFilterTyp in tokenFilterTypes">{{tokenFilterTyp}}</option>
</select>
</div>
</div>
<div ng-show="tokenfilter.type" ng-include src="formpath"/>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-default" ng-click="cancel()">Cancel</button>
<button ng-click="build()" type="button" class="btn btn-primary pull-right">Save</button>
</div>