Merge branch 'master' of ssh://git.onelab.eu/git/sfa-gui
[sfa-gui.git] / Welcome.py
1 from Sink import Sink, SinkInfo
2 from pyjamas.ui.HTML import HTML
3
4 class Welcome(Sink):
5     def __init__(self):
6
7         Sink.__init__(self)
8
9         text="<div class='infoProse'>This is the PlanetLab Federation GUI. "
10         text+="It allows users to "
11         text+="add resources from various testbeds to their slices "
12         text+="and browse the SFA Registry.</p></div>"
13         self.initWidget(HTML(text, True))
14
15     def onShow(self):
16         pass
17
18
19 def init():
20     return SinkInfo("Welcome", "Welcome to the PlanetLab Federation GUI", Welcome)