16 lines
359 B
HTML
16 lines
359 B
HTML
<section
|
|
id="component-notification"
|
|
hx-ext="ws"
|
|
style="
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 2rem;
|
|
background: lightgray;
|
|
">
|
|
{% include 'components/tasks/update.html' %}
|
|
</section>
|
|
<script>
|
|
document.querySelector('#component-notification').setAttribute('ws-connect', '/ws/' + localStorage.getItem('userId') + '/');
|
|
</script>
|