mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Preview for new corpus page.
This commit is contained in:
parent
2534b4cae7
commit
8a4a7577a0
@ -35,25 +35,56 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="card-title">Actions</span>
|
||||||
|
<a href="{{ url_for('main.corpus_analysis', corpus_id=corpus.id) }}" class="waves-effect waves-light btn">
|
||||||
|
<i class="material-icons left">help</i>Analyse
|
||||||
|
</a>
|
||||||
|
<a href="" class="waves-effect waves-light btn">
|
||||||
|
<i class="material-icons left">add</i>Add corpus file
|
||||||
|
</a>
|
||||||
|
<a href="#modal-confirm-delete" class="waves-effect waves-light btn red modal-trigger right">
|
||||||
|
<i class="material-icons left">delete</i>Delete Corpus
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12"></div>
|
||||||
|
|
||||||
|
<div class="col s12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-content">
|
||||||
<span class="card-title">Files</span>
|
<span class="card-title">Files</span>
|
||||||
<table class="highlight responsive-table">
|
<table class="highlight responsive-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Filename</th>
|
<th>Filename</th>
|
||||||
<th>Download</th>
|
<th>Author</th>
|
||||||
|
<th>Title</th>
|
||||||
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for file in corpus.files %}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td id="file-{{ file.id }}-filename">{{ file.filename }}</td>
|
<td>Harry Potter.vrt</td>
|
||||||
<td id="file-{{ file.id }}-download">
|
<td>Stephan Porada</td>
|
||||||
<a class="waves-effect waves-light btn-small" download href="{{ url_for('main.corpus_download', corpus_id=corpus.id, corpus_file_id=file.id) }}">
|
<td>Utopias</td>
|
||||||
<i class="material-icons">file_download</i>
|
<td class="right-align">
|
||||||
</a>
|
<a class="waves-effect waves-light btn-small" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">edit</i></a>
|
||||||
|
<a class="waves-effect waves-light btn-small" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">file_download</i></a>
|
||||||
|
<a class="waves-effect waves-light btn-small red" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">delete</i></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Harry Potter.vrt</td>
|
||||||
|
<td>Stephan Porada</td>
|
||||||
|
<td>Utopias</td>
|
||||||
|
<td class="right-align">
|
||||||
|
<a class="waves-effect waves-light btn-small" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">edit</i></a>
|
||||||
|
<a class="waves-effect waves-light btn-small" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">file_download</i></a>
|
||||||
|
<a class="waves-effect waves-light btn-small red" download="" href="/jobs/1/download?ressource_id=1&ressource_type=input"><i class="material-icons">delete</i></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user