2020-02-07 14:21:59 +00:00
{% extends "nopaque.html.j2" %}
{% set full_width = False %}
{% set roadmap = False %}
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>
2020-01-16 14:04:12 +00:00
<input id="search-corpus" class="search" type="search"></input>
2020-01-15 09:52:51 +00:00
<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>
2020-01-16 14:04:12 +00:00
<thead>
<tr>
<th></th>
<th>
<span class="sort" data-sort="title">Title</span>
<span class="sort" data-sort="description">Description</span>
</th>
<th><span class="sort" data-sort="status">Status</span></th>
<th></th>
</tr>
</thead>
2020-01-15 09:52:51 +00:00
<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>
2020-01-16 14:04:12 +00:00
<input id="search-job" class="search" type="search"></input>
2020-01-15 09:52:51 +00:00
<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>
2020-01-16 14:04:12 +00:00
<thead>
<tr>
<th><span class="sort" data-sort="service">Service</span></th>
<th>
<span class="sort" data-sort="title">Title</span>
<span class="sort" data-sort="description">Description</span>
</th>
<th><span class="sort" data-sort="status">Status</span></th>
<th></th>
</tr>
</thead>
2020-01-15 09:52:51 +00:00
<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">
2020-01-16 14:24:24 +00:00
<h4>Select a service</h4>
<ul class="collection">
<a href="{{ url_for('services.service', service='merge_images') }}" class="collection-item">
<i class="material-icons left">burst_mode</i>Merge images
</a>
<a href="{{ url_for('services.service', service='nlp') }}" class="collection-item">
<i class="material-icons left">format_textdirection_l_to_r</i>Natural Language Processing
</a>
<a href="{{ url_for('services.service', service='ocr') }}" class="collection-item">
<i class="material-icons left">find_in_page</i>Optical Character Recognition
</a>
2020-01-15 09:52:51 +00:00
</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-31 13:14:08 +00:00
var corpusList = new RessourceList("corpora", nopaque.corporaSubscribers, RessourceList.dataMapper.corpus);
var jobList = new RessourceList("jobs", nopaque.jobsSubscribers, RessourceList.dataMapper.job);
2019-11-12 15:16:41 +00:00
</script>
2019-08-01 08:33:05 +00:00
{% endblock %}