Fix new results table view

This commit is contained in:
Stephan Porada 2019-10-22 15:28:54 +02:00
parent 64f0082471
commit 488baf0b67

View File

@ -218,6 +218,7 @@
<a href="{{ url_for('main.job_download', job_id=job.id, file=files[file]['path']) }}" class="waves-effect waves-light btn-small"><i class="material-icons left">file_download</i>Download</a> <a href="{{ url_for('main.job_download', job_id=job.id, file=files[file]['path']) }}" class="waves-effect waves-light btn-small"><i class="material-icons left">file_download</i>Download</a>
</td> </td>
</tr> </tr>
{% if files[file]['results'] %}
{% for result in files[file]['results'] %} {% for result in files[file]['results'] %}
<tr> <tr>
<td> <td>
@ -229,7 +230,25 @@
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
{% if result == 'vrt' %}
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
{% endif %}
{% endfor %} {% endfor %}
{% else %}
{% for step in range(1, 4) %}
<tr>
<td>processing...</td>
<td></td>
</tr>
{% endfor %}
{% endif %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>