Unify more tables (Corpus: corpus files view)

This commit is contained in:
Stephan Porada
2020-07-08 15:24:18 +02:00
parent 43f79291aa
commit ea7bb82661
7 changed files with 134 additions and 51 deletions

View File

@ -120,7 +120,7 @@
<tr>
<th>Result Type</th>
<th>Archive Name</th>
<th>Download</th>
<th>{# Actions #}</th>
</tr>
</thead>
<tbody class="results">
@ -159,7 +159,6 @@
<script>
// job_input_table code
var ressources = {{ job_inputs|tojson|safe }};
console.log(ressources);
var jobInputsList = new RessourceList("inputs", null, "job_input");
jobInputsList.addRessources(ressources);
@ -244,9 +243,12 @@
<tr>
<td>${resultType}</td>
<td>${result.filename}</td>
<td>
<a class="btn-floating waves-effect waves-light" download href="/jobs/${result.job_id}/results/${result.id}/download">
<i class="material-icons left">file_download</i>
<td class="center-align">
<a class="btn-floating tooltipped waves-effect waves-light"
download href="/jobs/${result.job_id}/results/${result.id}/download"
data-position="top"
data-tooltip="Download">
<i class="material-icons">file_download</i>
</a>
</td>
</tr>