from Sink import Sink, SinkInfo
from pyjamas.ui.HTML import HTML
class Welcome(Sink):
def __init__(self):
Sink.__init__(self)
text="
This is the PlanetLab Federation GUI. "
text+="It allows users to "
text+="add resources from various testbeds to their slices "
text+="and browse the SFA Registry.
"
self.initWidget(HTML(text, True))
def onShow(self):
pass
def init():
return SinkInfo("Welcome", "Welcome to the PlanetLab Federation GUI", Welcome)