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

132 lines
6.4 KiB
Plaintext
Raw Normal View History

{% extends "base.html.j2" %}
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
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">
<h3>My Corpora</h3>
<p>Create a corpus to interactively perform linguistic analysis.</p>
<div class="card">
<div class="card-content">
<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 disabled waves-effect waves-light" href="{{ url_for('corpora.import_corpus') }}">Import Corpus<i class="material-icons right">import_export</i></a>
<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">
2020-10-23 06:51:46 +00:00
<h3>My Jobs</h3>
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>
<p><b>Where is my Job data?</b> Don't worry, please read <a href="{{ url_for('main.news', _anchor='april-2022-update') }}">this news</a> entry</p>
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">
2022-09-02 11:07:30 +00:00
<p><a class="btn modal-trigger waves-effect waves-light" data-target="create-job-modal"><i class="material-icons left">add</i>Create job</a></p>
2020-07-22 10:16:33 +00:00
</div>
</div>
2021-12-01 13:15:20 +00:00
</div>
2022-12-07 13:02:33 +00:00
<div class="col s12" id="social">
<h3>Social</h3>
<div class="card">
<div class="card-content">
<span class="card-title">Other users and groups</span>
<p>Find other users and follow them to see their corpora and groups.</p>
<div class="public-user-list no-autoinit"></div>
2022-12-07 13:02:33 +00:00
</div>
</div>
<div class="card">
<div class="card-content">
<span class="card-title">Public corpora</span>
<p>Find public corpora</p>
2022-12-07 13:02:33 +00:00
</div>
</div>
</div>
<div class="fixed-action-btn direction-top active" style="bottom:45px; right:24px;">
<a id="news-feature-discovery" class="waves-effect waves-light btn btn-floating"><i class="material-icons">mail</i></a>
</div>
<div class="tap-target" data-target="news-feature-discovery" style="background-color:#1A5C89">
<div class="tap-target-content">
<h5>Title</h5>
<p>A bunch of text</p>
</div>
</div>
2021-12-01 13:15:20 +00:00
</div>
</div>
{% endblock page_content %}
2021-12-01 13:15:20 +00:00
{% block modals %}
{{ super() }}
2022-09-02 11:07:30 +00:00
<div id="create-job-modal" class="modal">
2021-12-01 13:15:20 +00:00
<div class="modal-content">
<h4>Select a service</h4>
<p>&nbsp;</p>
<div class="row">
<div class="col s12 m4">
<div class="card-panel center-align hoverable">
<br>
<a href="{{ url_for('services.file_setup_pipeline') }}" class="btn-floating btn-large waves-effect waves-light" style="transform: scale(2);">
<i class="nopaque-icons service-color darken service-icons" data-service="file-setup-pipeline"></i>
2021-12-01 13:15:20 +00:00
</a>
<br><br>
<p class="service-color-text darken" data-service="file-setup-pipeline"><b>File setup</b></p>
<p class="light">Digital copies of text based research data (books, letters, etc.) often comprise various files and formats. nopaque converts and merges those files to facilitate further processing.</p>
<a href="{{ url_for('services.file_setup_pipeline') }}" class="waves-effect waves-light btn service-color darken" data-service="file-setup-pipeline">Create Job</a>
2021-12-01 13:15:20 +00:00
</div>
</div>
<div class="col s12 m4">
<div class="card-panel center-align hoverable">
<br>
<a href="{{ url_for('services.tesseract_ocr_pipeline') }}" class="btn-floating btn-large waves-effect waves-light" style="transform: scale(2);">
<i class="nopaque-icons service-color darken service-icons" data-service="tesseract-ocr-pipeline" style="font-size: 2.5rem;"></i>
2021-12-01 13:15:20 +00:00
</a>
<br><br>
<p class="service-color-text darken" data-service="tesseract-ocr-pipeline"><b>Optical Character Recognition</b></p>
2021-12-01 13:15:20 +00:00
<p class="light">nopaque converts your image data like photos or scans into text data through a process called OCR. This step enables you to proceed with further computational analysis of your documents.</p>
<a href="{{ url_for('services.tesseract_ocr_pipeline') }}" class="waves-effect waves-light btn service-color darken" data-service="tesseract-ocr-pipeline">Create Job</a>
2021-12-01 13:15:20 +00:00
</div>
</div>
<div class="col s12 m4">
<div class="card-panel center-align hoverable">
<br>
<a href="{{ url_for('services.spacy_nlp_pipeline') }}" class="btn-floating btn-large waves-effect waves-light" style="transform: scale(2);">
<i class="nopaque-icons service-color darken service-icons" data-service="spacy-nlp-pipeline" style="font-size: 2.5rem;"></i>
2021-12-01 13:15:20 +00:00
</a>
<br><br>
<p class="service-color-text darken" data-service="spacy-nlp-pipeline"><b>Natural Language Processing</b></p>
2021-12-01 13:15:20 +00:00
<p class="light">By means of computational linguistic data processing (tokenization, lemmatization, part-of-speech tagging and named-entity recognition) nopaque extracts additional information from your text.</p>
<a href="{{ url_for('services.spacy_nlp_pipeline') }}" class="waves-effect waves-light btn service-color darken" data-service="spacy-nlp-pipeline">Create Job</a>
2020-10-23 06:51:46 +00:00
</div>
2020-02-27 10:29:42 +00:00
</div>
</div>
2020-01-15 09:52:51 +00:00
</div>
2021-12-01 13:15:20 +00:00
<div class="modal-footer">
2022-09-02 11:07:30 +00:00
<a class="btn-flat modal-close waves-effect waves-light">Close</a>
2021-12-01 13:15:20 +00:00
</div>
2020-01-15 09:52:51 +00:00
</div>
2021-12-01 13:15:20 +00:00
{% endblock modals %}
2022-12-19 11:46:18 +00:00
{% block scripts %}
{{ super() }}
<script>
let publicUserList = new PublicUserList(document.querySelector('.public-user-list'));
2023-01-04 19:00:37 +00:00
publicUserList.add({{ users|tojson }});
2022-12-19 11:46:18 +00:00
</script>
{% endblock scripts %}