diff options
author | Thomas Dinges <blender@dingto.org> | 2010-01-05 01:41:21 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-01-05 01:41:21 +0300 |
commit | c95ad12dac094eef86b41faf0bf495a12124069a (patch) | |
tree | 9c5064804ab61fb65708beced5d77c99f711ac75 /release/scripts | |
parent | e90b6eefb191693b0ffe1d5a0b1bc399fc5b0aef (diff) |
Netrender:
Tooltips for chunks/priority were swapped.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/io/netrender/master_html.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/io/netrender/master_html.py b/release/scripts/io/netrender/master_html.py index 5f3b8be3dfd..3310ccabf37 100644 --- a/release/scripts/io/netrender/master_html.py +++ b/release/scripts/io/netrender/master_html.py @@ -181,11 +181,11 @@ def get(handler): link(job.name, "/html/job" + job.id), job.category if job.category else "<i>None</i>", str(job.chunks) + - """<button title="increase priority" onclick="request('/edit_%s', "{'chunks': %i}");">+</button>""" % (job.id, job.chunks + 1) + - """<button title="decrease priority" onclick="request('/edit_%s', "{'chunks': %i}");" %s>-</button>""" % (job.id, job.chunks - 1, "disabled=True" if job.chunks == 1 else ""), + """<button title="increase chunks size" onclick="request('/edit_%s', "{'chunks': %i}");">+</button>""" % (job.id, job.chunks + 1) + + """<button title="decrease chunks size" onclick="request('/edit_%s', "{'chunks': %i}");" %s>-</button>""" % (job.id, job.chunks - 1, "disabled=True" if job.chunks == 1 else ""), str(job.priority) + - """<button title="increase chunks size" onclick="request('/edit_%s', "{'priority': %i}");">+</button>""" % (job.id, job.priority + 1) + - """<button title="decrease chunks size" onclick="request('/edit_%s', "{'priority': %i}");" %s>-</button>""" % (job.id, job.priority - 1, "disabled=True" if job.priority == 1 else ""), + """<button title="increase priority" onclick="request('/edit_%s', "{'priority': %i}");">+</button>""" % (job.id, job.priority + 1) + + """<button title="decrease priority" onclick="request('/edit_%s', "{'priority': %i}");" %s>-</button>""" % (job.id, job.priority - 1, "disabled=True" if job.priority == 1 else ""), "%0.1f%%" % (job.usage * 100), "%is" % int(time.time() - job.last_dispatched), job.statusText(), |