mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-22 11:23:02 +00:00
a6f35119cd
* Replace django-background-tasks with huey * Add command for migrating tasks * Add custom admin view * fix dockerfile * fix tests * fix tests in CI * fix task tests * implement retries * improve config * workaround to avoid running singlefile tasks in parallel * properly kill single-file sub-processes * use period task for HTML snapshots * clear task lock when starting task consumer * remove obsolete cleanup task command
39 lines
937 B
HTML
39 lines
937 B
HTML
{% extends "admin/base_site.html" %}
|
|
|
|
{% block content %}
|
|
<table style="width: 100%">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Args</th>
|
|
<th>Retries</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for task in tasks %}
|
|
<tr>
|
|
<td>{{ task.id }}</td>
|
|
<td>{{ task.name }}</td>
|
|
<td>{{ task.args }}</td>
|
|
<td>{{ task.retries }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<p class="paginator">
|
|
{% if page.paginator.num_pages > 1 %}
|
|
{% for page_number in page_range %}
|
|
{% if page_number == page.number %}
|
|
<span class="this-page">{{ page_number }}</span>
|
|
{% elif page_number == '…' %}
|
|
<span>…</span>
|
|
{% else %}
|
|
<a href="?p={{ page_number }}">{{ page_number }}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
{{ page.paginator.count }} tasks
|
|
</p>
|
|
{% endblock %}
|