mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-24 15:02:25 +01:00
26 lines
518 B
HTML
26 lines
518 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Working
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if "error" in info %}
|
|
<h1>Task Failed</h1>
|
|
|
|
<p>{{ info. error }}</p>
|
|
{% else %}
|
|
<h1>Working…</h1>
|
|
|
|
<script src="/static/polltask.js"></script>
|
|
<script>
|
|
pollTask("{{ url_for('check_task', id=info.id) }}", true)
|
|
.then(function() { location.reload() })
|
|
.catch(function() { location.reload() })
|
|
</script>
|
|
<noscript>
|
|
Reload the page to check for updates.
|
|
</noscript>
|
|
{% endif %}
|
|
{% endblock %}
|