web: Builder/Build: use a relative link to the welcome page
[buildbot.git] / buildbot / status / web / about.py
blob09748e60f474d202fb0e06a89c7a06d916e65c99
2 from twisted.web import html
3 from buildbot.status.web.base import HtmlResource
4 import buildbot
5 import twisted
6 import sys
8 class AboutBuildbot(HtmlResource):
9 title = "About this Buildbot"
11 def body(self, request):
12 data = ''
13 data += '<h1>Welcome to the Buildbot</h1>\n'
14 data += '<h2>Version Information</h2>\n'
15 data += '<ul>\n'
16 data += ' <li>Buildbot: %s</li>\n' % html.escape(buildbot.version)
17 data += ' <li>Twisted: %s</li>\n' % html.escape(twisted.__version__)
18 data += ' <li>Python: %s</li>\n' % html.escape(sys.version)
19 data += ' <li>Buildmaster platform: %s</li>\n' % html.escape(sys.platform)
20 data += '</ul>\n'
22 data += '''
23 <h2>Source code</h2>
25 <p>Buildbot is a free software project, released under the terms of the
26 <a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>.</p>
28 <p>Please visit the <a href="http://buildbot.net/">Buildbot Home Page</a> for
29 more information, including documentation, bug reports, and source
30 downloads.</p>
31 '''
32 return data