mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Remove dummy lists from Dashboard, show actual corpus and job list instead.
This commit is contained in:
parent
3c344bf023
commit
ce051e8024
@ -22,24 +22,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li href="#!" class="collection-item avatar">
|
||||
<i class="material-icons circle">book</i>
|
||||
<span class="title">Utopias</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
<a href="#!" class="secondary-content"><i class="material-icons">send</i></a>
|
||||
</li>
|
||||
<li href="#!" class="collection-item avatar">
|
||||
<i class="material-icons circle">book</i>
|
||||
<span class="title">Dystopias</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
<a href="#!" class="secondary-content"><i class="material-icons">send</i></a>
|
||||
</li>
|
||||
<li href="#!" class="collection-item avatar">
|
||||
<i class="material-icons circle">book</i>
|
||||
<span class="title">Mungo Park - Travel books</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
<a href="#!" class="secondary-content"><i class="material-icons">send</i></a>
|
||||
</li>
|
||||
{% for corpus in current_user.corpora.all() %}
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle">book</i>
|
||||
<span class="title">{{ corpus.title }}</span>
|
||||
<p>{{ corpus.description }}</p>
|
||||
<a href="#!" class="secondary-content"><i class="material-icons">send</i></a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -67,24 +57,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle">find_in_page</i>
|
||||
<span class="new badge teal" data-badge-caption="">finished</span>
|
||||
<span class="title">Harry Potter</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
</li>
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle">find_in_page</i>
|
||||
<span class="new badge amber" data-badge-caption="">queued</span>
|
||||
<span class="title">Sprawl trilogy</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
</li>
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle">format_textdirection_l_to_r</i>
|
||||
<span class="new badge indigo" data-badge-caption="">running</span>
|
||||
<span class="title">Bob the Builder</span>
|
||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
||||
</li>
|
||||
{% for job in current_user.jobs.all() %}
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle">
|
||||
{% if job.service == 'nlp' %}
|
||||
format_textdirection_l_to_r
|
||||
{% elif job.service =='ocr' %}
|
||||
find_in_page
|
||||
{% else %}
|
||||
help
|
||||
{% endif %}
|
||||
</i>
|
||||
<span class="new badge teal" data-badge-caption="">{{ job.status }}</span>
|
||||
<span class="title">{{ job.title }}</span>
|
||||
<p>{{ job.description }}</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user