Update
This commit is contained in:
20
waiting_room/templates/progress_bar.html
Normal file
20
waiting_room/templates/progress_bar.html
Normal file
@ -0,0 +1,20 @@
|
||||
<section
|
||||
hx-ext="ws"
|
||||
ws-connect="/ws/nombre_temporal/"
|
||||
hx-swap-oob="innerHTML:notification"
|
||||
style="
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 2rem;
|
||||
background: lightgray;
|
||||
">
|
||||
<div id="notification"></div>
|
||||
<!-- <h1>Task</h1>
|
||||
{% if result %}
|
||||
<h3>Done!</h3>
|
||||
<a href="{% url 'waiting_room:index' %}?result={{ result }}">Show result</a>
|
||||
{% else %}
|
||||
<progress value="{{ progress }}" max="100">{{ progress }}</progress>
|
||||
{% endif %} -->
|
||||
</section>
|
Reference in New Issue
Block a user