Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
8763e0f4
Commit
8763e0f4
authored
5 years ago
by
Stephan Porada
Browse files
Options
Downloads
Patches
Plain Diff
Add NLP template. Add Link to NLp template.
parent
a3039e05
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/templates/base.html.j2
+1
-1
1 addition, 1 deletion
app/templates/base.html.j2
app/templates/services/nlp.html.j2
+106
-0
106 additions, 0 deletions
app/templates/services/nlp.html.j2
with
107 additions
and
1 deletion
app/templates/base.html.j2
+
1
−
1
View file @
8763e0f4
...
...
@@ -68,7 +68,7 @@
<a
class=
"collapsible-header"
>
Services
<i
class=
"material-icons"
>
arrow_drop_down
</i></a>
<div
class=
"collapsible-body"
>
<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>
</ul>
</div>
...
...
This diff is collapsed.
Click to expand it.
app/templates/services/nlp.html.j2
0 → 100644
+
106
−
0
View file @
8763e0f4
{% 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 %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment