Commit 267ea0ab authored by Andreas Valder's avatar Andreas Valder
Browse files

only showing not finished jobs

parent 3822ad10
......@@ -8,7 +8,7 @@ import random
@mod_required
def jobs_overview():
worker = query('SELECT * FROM worker ORDER BY last_ping DESC')
jobs = query('SELECT * FROM jobs')
jobs = query('SELECT * FROM jobs WHERE state != "finished"')
return render_template('jobs_overview.html',worker=worker,jobs=jobs)
def jobs_api_token_required(func):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment