mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
95 lines
3.7 KiB
Django/Jinja
95 lines
3.7 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="search"></input>
|
|
<label for="search-corpus">Search corpus</label>
|
|
</div>
|
|
<table>
|
|
<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>
|
|
<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="search"></input>
|
|
<label for="search-job">Search job</label>
|
|
</div>
|
|
<table>
|
|
<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>
|
|
<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 %}
|