mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-11 12:09:36 +00:00
Allow to view progress view while update is running
This commit is contained in:
parent
cad5261aba
commit
c34acfe523
2 changed files with 7 additions and 2 deletions
|
|
@ -29,7 +29,7 @@
|
|||
{{ parent() }}
|
||||
{# Auto-refresh while update is running - also refresh when 'starting' status #}
|
||||
{% if not progress or progress.status == 'running' or progress.status == 'starting' %}
|
||||
<meta http-equiv="refresh" content="2">
|
||||
<meta http-equiv="refresh" content="5">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
<script nonce="{{ csp_nonce('script') }}">
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, 2000);
|
||||
}, 5000);
|
||||
</script>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue