mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Add NLP template. Add Link to NLp template.
This commit is contained in:
parent
a3039e0529
commit
8763e0f4db
@ -68,7 +68,7 @@
|
|||||||
<a class="collapsible-header">Services<i class="material-icons">arrow_drop_down</i></a>
|
<a class="collapsible-header">Services<i class="material-icons">arrow_drop_down</i></a>
|
||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#!"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
|
<li><a href="{{ url_for('services.nlp') }}"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
|
||||||
<li><a href="{{ url_for('services.ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
|
<li><a href="{{ url_for('services.ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
106
app/templates/services/nlp.html.j2
Normal file
106
app/templates/services/nlp.html.j2
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
{% extends "base.html.j2" %}
|
||||||
|
|
||||||
|
{% block page_content %}
|
||||||
|
<div class="col s12 m4">
|
||||||
|
<h3>The process...</h3>
|
||||||
|
<p>Tool für Natrual Language Processing.</p>
|
||||||
|
<p>Die Ausgabe dieses Dienstes erfolgt in Form von Textdateien.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12 m8">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-content">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12 m6">
|
||||||
|
<div class="card z-depth-0">
|
||||||
|
<div class="card-content">
|
||||||
|
<span class="card-title">
|
||||||
|
<i class="material-icons blue-grey-text text-darken-2 left">layers</i>
|
||||||
|
Eingabe von VRT-Datein
|
||||||
|
</span>
|
||||||
|
<p>
|
||||||
|
Über ein Auftragsformular können VRT-Datein hochgeladen werden.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12">
|
||||||
|
<h3>Submit a job</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12">
|
||||||
|
<div class="card">
|
||||||
|
<form method="POST" enctype="multipart/form-data">
|
||||||
|
<div class="card-content">
|
||||||
|
{{ new_nlp_job_form.hidden_tag() }}
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12 m4">
|
||||||
|
<div class="input-field">
|
||||||
|
<i class="material-icons prefix">title</i>
|
||||||
|
{{ new_nlp_job_form.title() }}
|
||||||
|
{{ new_nlp_job_form.title.label }}
|
||||||
|
{% for error in new_nlp_job_form.title.errors %}
|
||||||
|
<span class="helper-text red-text">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col s12 m4">
|
||||||
|
<div class="input-field">
|
||||||
|
<i class="material-icons prefix">language</i>
|
||||||
|
{{ new_nlp_job_form.language() }}
|
||||||
|
{{ new_nlp_job_form.language.label }}
|
||||||
|
{% for error in new_nlp_job_form.language.errors %}
|
||||||
|
<span class="helper-text red-text">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col s12 m4">
|
||||||
|
<div class="input-field">
|
||||||
|
<i class="material-icons prefix">language</i>
|
||||||
|
{{ new_nlp_job_form.version() }}
|
||||||
|
{{ new_nlp_job_form.version.label }}
|
||||||
|
{% for error in new_nlp_job_form.version.errors %}
|
||||||
|
<span class="helper-text red-text">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12 m6">
|
||||||
|
<div class="file-field input-field">
|
||||||
|
<div class="btn">
|
||||||
|
<span>{{ new_nlp_job_form.files.label.text }}</span>
|
||||||
|
{{ new_nlp_job_form.files(accept='text/plain') }}
|
||||||
|
</div>
|
||||||
|
<div class="file-path-wrapper">
|
||||||
|
<input class="file-path validate" type="text">
|
||||||
|
</div>
|
||||||
|
{% for error in new_nlp_job_form.files.errors %}
|
||||||
|
<span class="helper-text red-text">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col s12 m6">
|
||||||
|
<div class="input-field">
|
||||||
|
<i class="material-icons prefix">description</i>
|
||||||
|
{{ new_nlp_job_form.description() }}
|
||||||
|
{{ new_nlp_job_form.description.label }}
|
||||||
|
{% for error in new_nlp_job_form.description.errors %}
|
||||||
|
<span class="helper-text red-text">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-action right-align">
|
||||||
|
{{ new_nlp_job_form.submit(class='btn') }}
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user