diff --git a/app.py b/app.py index 0c0c707..f7a2271 100644 --- a/app.py +++ b/app.py @@ -1402,10 +1402,8 @@ def admin(): @app.route("/admin/tasks", methods=["GET"]) @login_required def admin_tasks(): - return render_template( "admin_tasks.html", - success=p.get_success(), dead=p.get_dead(), waiting=p.get_waiting(), ) diff --git a/templates/admin_tasks.html b/templates/admin_tasks.html index 53b3526..38e5cbf 100644 --- a/templates/admin_tasks.html +++ b/templates/admin_tasks.html @@ -58,32 +58,6 @@ -

Success

- - - - - - - - - - - - - {% for task in success %} - - - - - - - - {% endfor %} - -
#URLPayloadNext runResponse
{{ task.task_id }}{{ task.url }} ({{ task.expected }}{{ task.payload }}{{ task.next_run }}Tries #{{ task.tries }}: {{ task.last_error_body }} ({{ task.last_error_status_code }})
- - {% endblock %}