nopaque/app/templates/main/dashboard.html.j2

99 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

{% extends "base.html.j2" %}
2020-10-30 14:01:41 +00:00
2019-08-01 08:33:05 +00:00
{% block page_content %}
2020-10-23 06:51:46 +00:00
<div class="container">
2020-07-22 10:16:33 +00:00
<div class="row">
<div class="col s12">
2020-10-23 08:42:52 +00:00
<h1 id="title">{{ title }}</h1>
</div>
2020-10-23 06:51:46 +00:00
<div class="col s12" id="corpora">
2023-03-21 09:50:29 +00:00
<h2>My Corpora</h2>
<p>Create a corpus to interactively perform linguistic analysis.</p>
2023-03-21 09:50:29 +00:00
</div>
<div class="col s12">
<div class="card">
<div class="card-content">
2023-06-07 11:39:04 +00:00
<div class="corpus-list" data-user-id="{{ current_user.hashid }}"></div>
2020-10-23 06:51:46 +00:00
</div>
<div class="card-action right-align">
<a class="btn waves-effect waves-light" href="{{ url_for('corpora.create_corpus') }}">Create corpus<i class="material-icons right">add</i></a>
2020-07-22 10:16:33 +00:00
</div>
</div>
2020-01-15 09:52:51 +00:00
</div>
2020-10-23 06:51:46 +00:00
2022-09-02 11:07:30 +00:00
<div class="col s12" id="jobs">
2023-03-21 09:50:29 +00:00
<h2>My Jobs</h2>
2022-06-14 10:00:22 +00:00
<p>
A job is the execution of a service provided by nopaque. You can
create any number of jobs and let them be processed simultaneously. We
<b>strongly recommend</b> that you create a folder on your computer where you
save the various files that nopaque provides you with after each
pre-processing step. You will need the result of each step for the
next step.
</p>
2023-03-21 09:50:29 +00:00
</div>
<div class="col s12">
2020-07-22 10:16:33 +00:00
<div class="card">
<div class="card-content">
2022-09-02 11:07:30 +00:00
<div class="job-list" data-user-id="{{ current_user.hashid }}"></div>
2020-07-22 10:16:33 +00:00
</div>
<div class="card-action right-align">
<p><a data-target="dashboard-create-job-dropdown-content" class="btn waves-effect waves-light dropdown-trigger no-autoinit" id="dashboard-create-job-dropdown-trigger">Create job<i class="material-icons right">add</i></a></p>
2020-07-22 10:16:33 +00:00
</div>
</div>
2021-12-01 13:15:20 +00:00
</div>
</div>
</div>
{% endblock page_content %}
{% block dropdowns %}
{{ super() }}
<ul class="dropdown-content" id="dashboard-create-job-dropdown-content">
<li>
<a href="{{ url_for('services.file_setup_pipeline') }}">
<i class="nopaque-icons service-icons service-color-text text-darken" data-service="file-setup-pipeline"></i>
File Setup Pipeline
</a>
</li>
<li>
<a href="{{ url_for('services.tesseract_ocr_pipeline') }}">
<i class="nopaque-icons service-icons service-color-text text-darken" data-service="tesseract-ocr-pipeline"></i>
Tesseract OCR Pipeline
</a>
</li>
{% if config.NOPAQUE_TRANSKRIBUS_ENABLED %}
<li>
<a href="{{ url_for('services.transkribus_htr_pipeline') }}">
<i class="nopaque-icons service-icons service-color-text text-darken" data-service="transkribus-htr-pipeline"></i>
Transkribus HTR Pipeline
</a>
</li>
{% endif %}
<li>
<a href="{{ url_for('services.spacy_nlp_pipeline') }}">
<i class="nopaque-icons service-icons service-color-text text-darken" data-service="spacy-nlp-pipeline"></i>
SpaCy NLP Pipeline
</a>
</li>
</ul>
{% endblock dropdowns %}
{% block scripts %}
{{ super() }}
<script>
M.Dropdown.init(
document.querySelector('#dashboard-create-job-dropdown-trigger'),
{
constrainWidth: false,
container: document.querySelector('#dropdowns'),
coverTrigger: false
}
);
</script>
{% endblock scripts %}