nopaque/app/templates/services/nlp.html.j2
2019-08-05 15:36:18 +02:00

107 lines
3.6 KiB
Django/Jinja

{% 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 %}