Add templates
This commit is contained in:
11
waiting_room/templates/components/tasks/update.html
Normal file
11
waiting_room/templates/components/tasks/update.html
Normal file
@ -0,0 +1,11 @@
|
||||
<div id="component-notification__update">
|
||||
<h1>Task</h1>
|
||||
{% if result %}
|
||||
<h2>Done!</h2>
|
||||
<a href="{% url 'waiting_room:index' %}?result={{ result }}">Go to result</a>
|
||||
{% elif progress %}
|
||||
<progress value="{{ progress }}" max="100">{{ progress }}</progress>
|
||||
{% else %}
|
||||
<p>Nothing</p>
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user