Add additional options to ocr form.

This commit is contained in:
Patrick Jentsch 2019-09-24 12:03:24 +02:00
parent 4858f36d76
commit 3cf42832f5

View File

@ -113,40 +113,92 @@
</div> </div>
</div> </div>
<div class="col s12"><p>&nbsp;</p></div> <div class="col s12"><p>&nbsp;</p></div>
<div class="col s8 m3"> <div class="col s12 m4">
<span class="card-title">Binarization</span> <div class="row">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p> <div class="col s9">
</div> <span class="card-title">Page range (N.a.)</span>
<div class="col s4 m1"> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
<div class="switch"> <div class="row valign-wrapper">
<label> <div class="col s5">
{{ new_ocr_job_form.binarization() }} <div class="input-field">
<span class="lever"></span> <input id="first-page" type="text" class="validate" value="0">
</label> <label for="first-page">From start</label>
</div>
</div>
<div class="col s2">
<p>&ndash;</p>
</div>
<div class="col s5">
<div class="input-field">
<input id="last-page" type="text" class="validate" value="0">
<label for="last-page">Before end</label>
</div>
</div>
</div>
</div>
<div class="col s3">
<div class="switch">
<label>
<input type="checkbox" disabled>
<span class="lever"></span>
</label>
</div>
</div>
</div> </div>
</div> </div>
<div class="col s8 m3"> <div class="col s12 m4">
<span class="card-title">Page split (N.a.)</span> <div class="row">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p> <div class="col s9">
</div> <span class="card-title">Page split (N.a.)</span>
<div class="col s4 m1"> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
<div class="switch"> <p class="range-field">
<label> <input type="range" id="page-split" min="30" max="70" value="0">
<input type="checkbox" disabled> </p>
<span class="lever"></span> </div>
</label> <div class="col s3">
<div class="switch">
<label>
<input type="checkbox" disabled>
<span class="lever"></span>
</label>
</div>
</div>
</div> </div>
</div> </div>
<div class="col s8 m3"> <div class="col s12 m4">
<span class="card-title">Page rotation (N.a.)</span> <div class="row">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p> <div class="col s9">
<span class="card-title">Page rotation (N.a.)</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
<p class="range-field">
<input type="range" id="page-split" min="0" max="360" value="0">
</p>
</div>
<div class="col s3">
<div class="switch">
<label>
<input type="checkbox" disabled>
<span class="lever"></span>
</label>
</div>
</div>
</div>
</div> </div>
<div class="col s4 m1"> <div class="col s12"></div>
<div class="switch"> <div class="col s12 m4">
<label> <div class="row">
<input type="checkbox" disabled> <div class="col s9">
<span class="lever"></span> <span class="card-title">Binarization</span>
</label> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s3">
<div class="switch">
<label>
{{ new_ocr_job_form.binarization() }}
<span class="lever"></span>
</label>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>