mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-04-07 01:34:22 +00:00
Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development
This commit is contained in:
commit
c6341cbce6
@ -238,11 +238,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="card-title">Files</span>
|
<span class="card-title">Files</span>
|
||||||
<table>
|
<div style="overflow-x:auto;">
|
||||||
|
<table class="highlight">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 50%;">Inputs</th>
|
<th style="width: 25%;">Inputs</th>
|
||||||
<th style="width: 50%;">Results</th>
|
<th style="width: 25%;"></th>
|
||||||
|
<th style="width: 25%;">Results</th>
|
||||||
|
<th style="width: 25%;"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="files"></tbody>
|
<tbody id="files"></tbody>
|
||||||
@ -258,23 +261,51 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for file in files %}
|
{% for file in files %}
|
||||||
|
<tr>
|
||||||
|
<td rowspan="4">
|
||||||
|
{{ file }}
|
||||||
|
</td>
|
||||||
|
<td rowspan="4">
|
||||||
|
<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>
|
||||||
|
</tr>
|
||||||
|
{% if files[file]['results'] %}
|
||||||
|
{% for result in files[file]['results'] %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<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>{{ file }}</a>
|
{{ result }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if job.status == 'complete' %}
|
{% if job.status == 'complete' %}
|
||||||
{% for result in files[file]['results'] %}
|
<a href="{{ url_for('main.job_download', job_id=job.id, file=files[file]['results'][result]['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]['results'][result]['path']) }}" class="waves-effect waves-light btn-small"><i class="material-icons left">file_download</i>{{ result }}</a>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% if result == 'vrt' %}
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
{% for step in range(1, 4) %}
|
||||||
|
<tr>
|
||||||
|
<td>processing...</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -35,6 +35,7 @@ services:
|
|||||||
- web.env
|
- web.env
|
||||||
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
|
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
- storage:/mnt/opaque
|
||||||
- ./logs:/home/opaque_daemon/logs
|
- ./logs:/home/opaque_daemon/logs
|
||||||
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
|
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
|
||||||
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user