[svn r38025] Fix a bit web reporter (still not perfect)

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-06 20:11:12 +01:00
parent 1945487f4a
commit 63bbe18a7e
3 changed files with 1987 additions and 1986 deletions

View File

@ -137,6 +137,7 @@ class ExportedMethods(BasicExternal):
self.stdout = {} self.stdout = {}
self.stderr = {} self.stderr = {}
self.all = 0 self.all = 0
self.to_rsync = {}
def findmodule(self, item): def findmodule(self, item):
# find the most outwards parent which is module # find the most outwards parent which is module

File diff suppressed because it is too large Load Diff

View File

@ -185,7 +185,7 @@ def process(msg):
host_elem.childNodes[0].nodeValue = '%s[%s]' % ( host_elem.childNodes[0].nodeValue = '%s[%s]' % (
glob.host_dict[msg['hostkey']], count) glob.host_dict[msg['hostkey']], count)
elif msg['type'] == 'HostReady': elif msg['type'] == 'HostRSyncRootReady':
host_elem = dom.document.getElementById(msg['hostkey']) host_elem = dom.document.getElementById(msg['hostkey'])
host_elem.style.background = \ host_elem.style.background = \
"#00ff00" "#00ff00"