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): class AddCorpusForm(FlaskForm):
description = StringField('Description', description = StringField('Description',
validators=[DataRequired(), Length(1, 64)]) validators=[DataRequired(), Length(1, 255)])
submit = SubmitField() submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) title = StringField('Title', validators=[DataRequired(), Length(1, 32)])

View File

@ -5,8 +5,8 @@
{% block page_content %} {% block page_content %}
<div class="col s12 m4"> <div class="col s12 m4">
<h3 id="title">...</h3> <h3>...</h3>
<p id="description">Fill out the following form to add a corpus to your corpora.</p> <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> <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> </div>
@ -36,11 +36,13 @@
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
<div class="row">
<div class="col s12"> <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> <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>
</div> </div>
</div>
<div class="card-action right-align"> <div class="card-action right-align">
<button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button> <button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div> </div>

View File

@ -104,7 +104,7 @@
<div class="row"> <div class="row">
<div class="col s12 m6"> <div class="col s12 m6">
<span class="card-title">Check Encoding</span> <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"> <div class="switch">
<label> <label>
{{ add_job_form.check_encoding() }} {{ add_job_form.check_encoding() }}