Author: cwittich
Date: Sun Jul 30 00:35:21 2006
New Revision: 23371
URL:
http://svn.reactos.org/svn/reactos?rev=23371&view=rev
Log:
customize html.py to work with reactos.css
Modified:
trunk/tools/buildbot/buildbot/buildbot/status/html.py
Modified: trunk/tools/buildbot/buildbot/buildbot/status/html.py
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/buildbot/buildbot/buildbot/s…
==============================================================================
--- trunk/tools/buildbot/buildbot/buildbot/status/html.py (original)
+++ trunk/tools/buildbot/buildbot/buildbot/status/html.py Sun Jul 30 00:35:21 2006
@@ -1104,7 +1104,7 @@
return self.phase0(request, (changeNames + builderNames),
timestamps, eventGrid)
# start the table: top-header material
- data += '<table border="0" cellspacing="0">\n'
+ data += '<table class="table" border="0"
cellspacing="0">\n'
if projectName and projectURL:
# TODO: this is going to look really ugly
@@ -1119,16 +1119,17 @@
data += box.td(align="center")
data += " </tr>\n"
- data += ' <tr class="Activity">\n'
- data += td('current activity', align='right', colspan=2)
+ data += ' <tr>\n'
+ data += td('current activity', align='right', colspan=2,
class_='Activity')
for b in builders:
+ state = b.getState()
box = ICurrentBox(b).getBox(self.status)
- data += box.td(align="center")
+ data += box.td(align="center", class_="Activity %s" %
state[0])
data += " </tr>\n"
data += " <tr>\n"
TZ = time.tzname[time.daylight]
- data += td("time (%s)" % TZ, align="center",
class_="Time")
+ data += td("time<br> (%s)" % TZ, align="center",
class_="Time")
name = changeNames[0]
data += td(
"<a href=\"%s\">%s</a>" %
(urllib.quote(name, safe=''), name),