mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
73 lines
3.0 KiB
Django/Jinja
73 lines
3.0 KiB
Django/Jinja
{% extends "limited_width.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12">
|
|
<h3>My Corpora</h3>
|
|
<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 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>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12">
|
|
<h3>My Jobs</h3>
|
|
<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 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>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<script>
|
|
// Init corpus list
|
|
var corpusList = new CorpusList("corpora", corporaSubscribers);
|
|
|
|
// Init job list
|
|
var jobList = new JobList("jobs", jobsSubscribers);
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
M.Dropdown.init(document.getElementById("new-job"), {"coverTrigger": false});
|
|
});
|
|
</script>
|
|
{% endblock %}
|