2019-10-24 11:13:34 +00:00
{% extends "limited_width.html.j2" %}
2019-08-01 08:33:05 +00:00
{% block page_content %}
2020-01-15 09:52:51 +00:00
<div class="col s12">
2019-09-27 11:56:52 +00:00
<h3>My Corpora</h3>
2019-08-01 08:33:05 +00:00
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
2020-01-15 09:52:51 +00:00
<div class="card">
<div class="card-content" id="corpora">
<div class="input-field">
<i class="material-icons prefix">search</i>
<input id="search-corpus" class="search" type="text"></input>
<label for="search-corpus">Search corpus</label>
2019-08-02 12:48:27 +00:00
</div>
2020-01-15 09:52:51 +00:00
<table>
<tbody class="list"></tbody>
</table>
<ul class="pagination"></ul>
</div>
<div class="card-action right-align">
<a class="waves-effect waves-light btn" href="{{ url_for('corpora.add_corpus') }}">New corpus<i class="material-icons right">add</i></a>
2019-08-08 13:28:15 +00:00
</div>
</div>
2019-08-01 08:33:05 +00:00
</div>
<div class="col s12">
2019-09-27 11:56:52 +00:00
<h3>My Jobs</h3>
2019-08-07 13:53:37 +00:00
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
2020-01-15 09:52:51 +00:00
<div class="card">
<div class="card-content" id="jobs">
<div class="input-field">
<i class="material-icons prefix">search</i>
<input id="search-job" class="search" type="text"></input>
<label for="search-job">Search job</label>
2019-08-02 12:48:27 +00:00
</div>
2020-01-15 09:52:51 +00:00
<table>
<tbody class="list"></tbody>
</table>
<ul class="pagination"></ul>
</div>
<div class="card-action right-align">
<p><a class="modal-trigger waves-effect waves-light btn" href="#" data-target="new-job-modal"><i class="material-icons left">add</i>New job</a></p>
2019-08-08 13:28:15 +00:00
</div>
</div>
2019-08-01 08:33:05 +00:00
</div>
2019-08-16 07:49:27 +00:00
2020-01-15 09:52:51 +00:00
<div id="new-job-modal" class="modal">
<div class="modal-content">
<h4>Job types</h4>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
<ul>
<li><a href="{{ url_for('services.service', service='merge_images') }}"><i class="material-icons">burst_mode</i>Merge images</a></li>
<li><a href="{{ url_for('services.service', service='nlp') }}"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
<li><a href="{{ url_for('services.service', service='ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
</ul>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Close</a>
</div>
</div>
2019-11-12 15:16:41 +00:00
<script>
2020-01-13 14:33:05 +00:00
// Init corpus list
2020-01-15 09:52:51 +00:00
var corpusList = new CorpusList("corpora", corporaSubscribers);
2020-01-13 14:33:05 +00:00
// Init job list
2020-01-15 09:52:51 +00:00
var jobList = new JobList("jobs", jobsSubscribers);
2020-01-13 14:33:05 +00:00
2019-11-12 15:16:41 +00:00
document.addEventListener('DOMContentLoaded', function() {
2020-01-13 14:33:05 +00:00
M.Dropdown.init(document.getElementById("new-job"), {"coverTrigger": false});
2019-11-12 15:16:41 +00:00
});
</script>
2019-08-01 08:33:05 +00:00
{% endblock %}