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,11 +113,85 @@
</div>
</div>
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s8 m3">
<div class="col s12 m4">
<div class="row">
<div class="col s9">
<span class="card-title">Page range (N.a.)</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
<div class="row valign-wrapper">
<div class="col s5">
<div class="input-field">
<input id="first-page" type="text" class="validate" value="0">
<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 class="col s12 m4">
<div class="row">
<div class="col s9">
<span class="card-title">Page split (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="30" max="70" 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 class="col s12 m4">
<div class="row">
<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 class="col s12"></div>
<div class="col s12 m4">
<div class="row">
<div class="col s9">
<span class="card-title">Binarization</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s4 m1">
<div class="col s3">
<div class="switch">
<label>
{{ new_ocr_job_form.binarization() }}
@ -125,28 +199,6 @@
</label>
</div>
</div>
<div class="col s8 m3">
<span class="card-title">Page split (N.a.)</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s4 m1">
<div class="switch">
<label>
<input type="checkbox" disabled>
<span class="lever"></span>
</label>
</div>
</div>
<div class="col s8 m3">
<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>
</div>
<div class="col s4 m1">
<div class="switch">
<label>
<input type="checkbox" disabled>
<span class="lever"></span>
</label>
</div>
</div>
</div>