2019-10-24 11:13:34 +00:00
{% extends "limited_width.html.j2" %}
2019-08-01 08:33:05 +00:00
{% block page_content %}
<div class="col s12 m4">
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>
</div>
<div class="col s12 m8">
2019-08-08 13:28:15 +00:00
<div id="corpus-list">
<div class="card">
<div class="card-content">
<div class="row">
<div class="col s12 m8">
<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>
</div>
</div>
<div class="col s12 m4">
2019-10-31 14:29:02 +00:00
<p><a href="{{ url_for('corpora.add_corpus') }}" class="waves-effect waves-light btn right"><i class="material-icons left">add</i>New corpus</a></p>
2019-08-08 13:28:15 +00:00
</div>
<div class="col s12">
<ul class="pagination"></ul>
2019-08-02 12:48:27 +00:00
</div>
</div>
</div>
2019-08-08 13:28:15 +00:00
</div>
2019-08-16 12:54:29 +00:00
<div class="collection list"></div>
2019-08-08 13:28:15 +00:00
</div>
2019-08-01 08:33:05 +00:00
</div>
2019-08-08 13:28:15 +00:00
<script>
2019-09-18 09:35:25 +00:00
var corpusList = new CorpusList("corpus-list", corporaSubscribers, {
2019-08-30 11:31:00 +00:00
item: '<div><span class="title"></span><span class="description"></span></div>',
page: 4,
pagination: true,
valueNames: ["description", "title", {data: ["id"]}]
});
2019-08-20 09:24:52 +00:00
corpusList.on("filterComplete", List.updatePagination);
corpusList.on("searchComplete", List.updatePagination);
2019-08-08 13:28:15 +00:00
</script>
2019-08-01 08:33:05 +00:00
<div class="col s12">
2019-08-02 11:25:54 +00:00
<p> </p>
</div>
<div class="col s12 m4">
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>
2019-08-02 11:25:54 +00:00
</div>
<div class="col s12 m8">
2019-08-08 13:28:15 +00:00
<div id="job-list">
<div class="card">
<div class="card-content">
<div class="row">
<div class="col s12 m8">
<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>
</div>
</div>
<div class="col s12 m4">
<p><a id="new-job" class="dropdown-trigger waves-effect waves-light btn right no-autoinit" href="#" data-target="new-job-dropdown"><i class="material-icons left">add</i>New job</a></p>
</div>
<div class="col s12">
<ul class="pagination"></ul>
2019-08-02 12:48:27 +00:00
</div>
</div>
</div>
2019-08-08 13:28:15 +00:00
</div>
2019-08-16 07:49:27 +00:00
<div class="collection list"></div>
2019-08-08 13:28:15 +00:00
</div>
2019-08-01 08:33:05 +00:00
</div>
2019-08-08 13:28:15 +00:00
<script>
2019-09-18 09:32:35 +00:00
var jobList = new JobList("job-list", jobsSubscribers, {
2019-09-04 11:51:21 +00:00
item: '<div><span class="title"></span><span class="description"></span></div>',
page: 4,
pagination: true,
valueNames: ["description", "title", {data: ["id"]}]
});
jobList.on("filterComplete", List.updatePagination);
jobList.on("searchComplete", List.updatePagination);
2019-08-16 07:49:27 +00:00
</script>
2019-08-02 12:48:27 +00:00
<ul id='new-job-dropdown' class='dropdown-content'>
2019-11-08 11:21:59 +00:00
<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>
2019-08-02 12:48:27 +00:00
</ul>
2019-11-12 15:16:41 +00:00
<script>
document.addEventListener('DOMContentLoaded', function() {
M.Dropdown.init(
document.getElementById("new-job"),
{"coverTrigger": false}
);
});
</script>
2019-08-01 08:33:05 +00:00
{% endblock %}