[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25723] trunk/blender/release/scripts/io/ netrender/master_html.py: Netrender:

Thomas Dinges dingto at gmx.de
Mon Jan 4 23:41:21 CET 2010


Revision: 25723
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25723
Author:   dingto
Date:     2010-01-04 23:41:21 +0100 (Mon, 04 Jan 2010)

Log Message:
-----------
Netrender:
Tooltips for chunks/priority were swapped. 

Modified Paths:
--------------
    trunk/blender/release/scripts/io/netrender/master_html.py

Modified: trunk/blender/release/scripts/io/netrender/master_html.py
===================================================================
--- trunk/blender/release/scripts/io/netrender/master_html.py	2010-01-04 22:30:09 UTC (rev 25722)
+++ trunk/blender/release/scripts/io/netrender/master_html.py	2010-01-04 22:41:21 UTC (rev 25723)
@@ -181,11 +181,11 @@
                         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(),





More information about the Bf-blender-cvs mailing list