From: Michael Tremer Date: Sat, 15 Nov 2008 16:18:55 +0000 (+0100) Subject: Added a small footer line with additional information. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e744e5a6ad463fbf46da9ca9d10bb78258936d9;p=ipfire.org.git Added a small footer line with additional information. --- diff --git a/build/index.py b/build/index.py index 8e817109..dd9f8597 100644 --- a/build/index.py +++ b/build/index.py @@ -103,6 +103,12 @@ class Site: div.log p { font-family: Courier New; } + div.footer { + } + div.footer p { + text-align: center; + font-size: 5px; + } p { margin: 2px; } @@ -187,6 +193,7 @@ class Box: self.durations() if self.builder.state() == "error": self.log() + self.footer() print """\ """ @@ -252,6 +259,13 @@ class Box: """ + def footer(self): + print """\ + + """ % (self.builder.target(), self.builder.jobs(),) + site = Site(config) boxes = [] diff --git a/build/rpc.py b/build/rpc.py index a936161d..5e706d53 100644 --- a/build/rpc.py +++ b/build/rpc.py @@ -66,7 +66,7 @@ if action == "set": builder = Builder(config, uuid) key = None - for key in [ "distcc", "duration", "hostname", "jobs", "log", "state", "package", ]: + for key in [ "distcc", "duration", "hostname", "jobs", "log", "state", "package", "target" ]: for value in data.getlist(key): builder.set(key, value) elif action == "get":