reworked the celery task management

This commit is contained in:
Kamil
2024-12-04 22:22:04 +00:00
parent e2d37b77b0
commit 1ee0087b8f
8 changed files with 95 additions and 87 deletions

View File

@@ -4,6 +4,7 @@
<table class="table ">
<thead>
<tr>
<th>Locked</th>
<th>Task Name</th>
<th>Status</th>
<th>Progress</th>

View File

@@ -1,5 +1,12 @@
{% for task_name, task in tasks.items() %}
<tr id="task-row-{{ task_name }}">
<td class="w-auto">
{% if task.lock_status %}
<i class="fas fa-lock text-warning"></i>
{% else %}
<i class="fas fa-unlock text-success"></i>
{% endif %}
</td>
<td class="w-25">{{ task_name }}</td>
<td class="w-50">{{ task.state }}</td>
<td>