From 87a1144f8834b329b21b8bb5c1e9944b9208177e Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 7 Apr 2019 12:53:16 +0200 Subject: [PATCH] Tweak the admin --- app.py | 2 -- templates/admin_tasks.html | 26 -------------------------- 2 files changed, 28 deletions(-) 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 %}