diff --git a/app/corpora/forms.py b/app/corpora/forms.py index e6fadb12d4ac9a3c61bf0ad3c8902e27ab6edfcb..89059d6f092b806047a98e9711d6957e77c9b29d 100644 --- a/app/corpora/forms.py +++ b/app/corpora/forms.py @@ -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)]) diff --git a/app/templates/corpora/add_corpus.html.j2 b/app/templates/corpora/add_corpus.html.j2 index 587e1efd780964166c59ac010c3d02f3e2e23064..51a84af7b2f510e7643284b84f366527d7e79880 100644 --- a/app/templates/corpora/add_corpus.html.j2 +++ b/app/templates/corpora/add_corpus.html.j2 @@ -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> diff --git a/app/templates/corpora/add_corpus_file.html.j2 b/app/templates/corpora/add_corpus_file.html.j2 index 82922aeaf42982ab75224d948a1bceff68a8545a..67c66191c9a2449abfc1ba04a1f89a9a3fde7147 100644 --- a/app/templates/corpora/add_corpus_file.html.j2 +++ b/app/templates/corpora/add_corpus_file.html.j2 @@ -5,8 +5,8 @@ {% block page_content %} <div class="col s12 m4"> - <h3 id="title">{{ corpus.title }}</h3> - <p id="description">Fill out the following form to add a corpus file in verticalized text format (.vrt).</p> + <h3>{{ corpus.title }}</h3> + <p>Fill out the following form to add a corpus file in verticalized text format (.vrt).</p> <a class="waves-effect waves-light btn" href="{{ url_for('corpora.corpus', corpus_id=corpus.id) }}"><i class="material-icons left">arrow_back</i>Back to corpus</a> </div> diff --git a/app/templates/services/nlp.html.j2 b/app/templates/services/nlp.html.j2 index 3040da43a4d390d0f42db776f0855ab78f7c0578..2efe37719a023cdbb0e339a4c4329cf1097d49c0 100644 --- a/app/templates/services/nlp.html.j2 +++ b/app/templates/services/nlp.html.j2 @@ -99,7 +99,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() }}