diff --git a/app.py b/app.py index 00580bc..45872e1 100644 --- a/app.py +++ b/app.py @@ -1303,6 +1303,7 @@ def admin(): def admin_tasks(): return render_template( "admin_tasks.html", + success=p.get_success(), dead=p.get_dead(), waiting=p.get_waiting(), cron=p.get_cron(), diff --git a/templates/admin_tasks.html b/templates/admin_tasks.html index d0b300e..e336f86 100644 --- a/templates/admin_tasks.html +++ b/templates/admin_tasks.html @@ -84,6 +84,32 @@ +

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 }})
+ +