netrender

Display job status in web interface
Better use of Reports api for errors and success notifications
Don't show some Client options if server address is default (hasn't been scanned or entered manually yet)
This commit is contained in:
2009-12-16 21:00:25 +00:00
parent c3401eb5cb
commit 383f29ff37
6 changed files with 108 additions and 57 deletions

View File

@@ -94,6 +94,7 @@ def get(handler):
"priority",
"usage",
"wait",
"status",
"length",
"done",
"dispatched",
@@ -114,6 +115,7 @@ def get(handler):
job.priority,
"%0.1f%%" % (job.usage * 100),
"%is" % int(time.time() - job.last_dispatched),
job.statusText(),
len(job),
results[DONE],
results[DISPATCHED],