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>
|
||||
<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>
|
||||
<table class="highlight responsive-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Filename</th>
|
||||
<th>Download</th>
|
||||
<th>Author</th>
|
||||
<th>Title</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for file in corpus.files %}
|
||||
<tr>
|
||||
<td id="file-{{ file.id }}-filename">{{ file.filename }}</td>
|
||||
<td id="file-{{ file.id }}-download">
|
||||
<a class="waves-effect waves-light btn-small" download href="{{ url_for('main.corpus_download', corpus_id=corpus.id, corpus_file_id=file.id) }}">
|
||||
<i class="material-icons">file_download</i>
|
||||
</a>
|
||||
<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>
|
||||
</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>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user