Add cluster API for worker management and status reporting

This commit is contained in:
Eduardo Silva
2025-12-30 11:30:55 -03:00
parent 4a6487835b
commit 92e3049a8e
10 changed files with 274 additions and 5 deletions

View File

@@ -20,10 +20,17 @@
<tr>
<td>{{ worker.name }}</td>
<td style="width: 1%; white-space: nowrap;">
{% if worker.enabled %}
<i class="fas fa-check text-green"></i>
{% if worker.error_status %}
<i class="fas fa-exclamation-triangle text-danger blink" title="{{ worker.get_error_status_display }}"></i>
{% else %}
<i class="fas fa-times text-gray"></i>
{% if worker.enabled %}
<i class="fas fa-check text-green"></i>
{% else %}
<i class="fas fa-times text-gray"></i>
{% endif %}
{% endif %}
{% if worker_version > worker.workerstatus.worker_version %}
<i class="fas fa-cloud-download-alt text-primary blink" title="{% trans 'The worker is outdated. Please update it to the latest version.' %}"></i>
{% endif %}
</td>
<td>