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

24 lines
1.2 KiB
HTML

<div class="form-group">
<label for="exampleInputPassword1">Exception Patterns</label>
<ul class="list-group" ng-show="tokenizer.exceptions.length < 1">
<li class="list-group-item">None</li>
</ul>
<ul class="list-group" ng-show="tokenizer.exceptions.length > 0" ui-sortable ng-model="tokenizer.exceptions">
<li class="list-group-item" ng-repeat="e in tokenizer.exceptions track by $index"><span class="glyphicon glyphicon-minus"></span> {{ e }}<span ng-click="removeException($index)" class="glyphicon glyphicon-remove pull-right"></span></li>
</ul>
</div>
<div class="form-group">
<label for="what"></label>
<div class="col-sm-10">
<input ng-model="newregexp" type="text" class="form-control" id="exceptionRegexp" placeholder="">
</div>
<div class="col-sm-2">
<button ng-click="addException(this)" type="button" class="btn btn-default pull-right">Add</button>
</div>
</div>
<div class="form-group">
<label for="analyzerTokenizer">Tokenizer for Remaining Input</label>
<select ng-change="tokenizerChanged()" ng-model="tokenizer.tokenizer" class="form-control" id="tokenizer">
<option ng-repeat="tokenizer in tokenizerNames">{{tokenizer}}</option>
</select>
</div>