Fix unclickable input fields

This commit is contained in:
stephan 2020-02-17 10:45:45 +01:00
parent 1f0e7f1c06
commit 416cc145cf
3 changed files with 8 additions and 6 deletions

View File

@ -28,7 +28,7 @@ class AddCorpusFileForm(FlaskForm):
class AddCorpusForm(FlaskForm):
description = StringField('Description',
validators=[DataRequired(), Length(1, 64)])
validators=[DataRequired(), Length(1, 255)])
submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)])

View File

@ -5,8 +5,8 @@
{% block page_content %}
<div class="col s12 m4">
<h3 id="title">...</h3>
<p id="description">Fill out the following form to add a corpus to your corpora.</p>
<h3>...</h3>
<p>Fill out the following form to add a corpus to your corpora.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('main.dashboard') }}"><i class="material-icons left">arrow_back</i>Back to dashboard</a>
</div>
@ -36,8 +36,10 @@
{% endfor %}
</div>
</div>
<div class="col s12">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
<div class="row">
<div class="col s12">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
</div>
</div>
</div>
</div>

View File

@ -104,7 +104,7 @@
<div class="row">
<div class="col s12 m6">
<span class="card-title">Check Encoding</span>
<p>If the input files are not created with the nopaque OCR service and you do not know if your tex files are UTF-8 encoded, check this switch. We will try to automatically determine the right encoding for your texts.</p>
<p>If the input files are not created with the nopaque OCR service or you do not know if your text files are UTF-8 encoded, check this switch. We will try to automatically determine the right encoding for your texts to process them.</p>
<div class="switch">
<label>
{{ add_job_form.check_encoding() }}