mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +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>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li href="#!" class="collection-item avatar">
|
{% for corpus in current_user.corpora.all() %}
|
||||||
|
<li class="collection-item avatar">
|
||||||
<i class="material-icons circle">book</i>
|
<i class="material-icons circle">book</i>
|
||||||
<span class="title">Utopias</span>
|
<span class="title">{{ corpus.title }}</span>
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
<p>{{ corpus.description }}</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>
|
<a href="#!" class="secondary-content"><i class="material-icons">send</i></a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -67,24 +57,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
{% for job in current_user.jobs.all() %}
|
||||||
<li class="collection-item avatar">
|
<li class="collection-item avatar">
|
||||||
<i class="material-icons circle">find_in_page</i>
|
<i class="material-icons circle">
|
||||||
<span class="new badge teal" data-badge-caption="">finished</span>
|
{% if job.service == 'nlp' %}
|
||||||
<span class="title">Harry Potter</span>
|
format_textdirection_l_to_r
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
{% elif job.service =='ocr' %}
|
||||||
</li>
|
find_in_page
|
||||||
<li class="collection-item avatar">
|
{% else %}
|
||||||
<i class="material-icons circle">find_in_page</i>
|
help
|
||||||
<span class="new badge amber" data-badge-caption="">queued</span>
|
{% endif %}
|
||||||
<span class="title">Sprawl trilogy</span>
|
</i>
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia</p>
|
<span class="new badge teal" data-badge-caption="">{{ job.status }}</span>
|
||||||
</li>
|
<span class="title">{{ job.title }}</span>
|
||||||
<li class="collection-item avatar">
|
<p>{{ job.description }}</p>
|
||||||
<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>
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user