Add fifo
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
background: lightgray;
|
||||
">
|
||||
{% include 'components/tasks/update.html' %}
|
||||
{% include 'components/tasks/location.html' %}
|
||||
</section>
|
||||
<script>
|
||||
document.querySelector('#component-notification').setAttribute('ws-connect', '/ws/' + localStorage.getItem('userId') + '/');
|
||||
|
5
waiting_room/templates/components/tasks/location.html
Normal file
5
waiting_room/templates/components/tasks/location.html
Normal file
@ -0,0 +1,5 @@
|
||||
<div id="component-notification__location">
|
||||
{% if location > 0 %}
|
||||
<p>You have {{ location }} persons in front of you.</p>
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user