Refresh queue regularly

This commit is contained in:
Joscha 2023-08-06 20:49:07 +02:00
parent ad5da60b5a
commit 6af47b8c30
3 changed files with 23 additions and 9 deletions

View file

@ -2,7 +2,11 @@
{% block title %}queue ({{ table.tasks.len() }}){% endblock %}
{% block body %}
<h2>Queue ({{ table.tasks.len() }})</h2>
{{ table|safe }}
{% block head %}
<script type="module" src="main.js"></script>
{% endblock %}
{% block body %}
<h2>Queue (<span id="count">{{ table.tasks.len() }}</span>)</h2>
<div id="queue">{{ table|safe }}</div>
{% endblock %}