X-Git-Url: http://git.onelab.eu/?p=sfa-gui.git;a=blobdiff_plain;f=HelpPanel.py;fp=HelpPanel.py;h=e99ee0b06d4d511fe4f21fcec8748d8e4c5eb2c7;hp=2237aed1dbc0c543955b53cc2355f2df14cf664d;hb=3eb4a90294f4a605cb9a18666f1e6e656e9b86a8;hpb=743fb4d29bdf0e58bffb84b420f922c722a8d8cb diff --git a/HelpPanel.py b/HelpPanel.py index 2237aed..e99ee0b 100644 --- a/HelpPanel.py +++ b/HelpPanel.py @@ -5,18 +5,42 @@ from pyjamas.ui import HasAlignment class HelpPanel(VerticalPanel): def __init__(self): VerticalPanel.__init__(self) - def refresh(self): pass class PlanetLabHelpPanel(HelpPanel): def __init__(self): HelpPanel.__init__(self) - self.add(HTML("This is the PlanetLab help panel")) + m = "
Steps to set up your slice:" + m += "
  1. Use the Nodes tab to select the nodes " + m += "on which your slice will run." + m += "
  2. Use the Slivers tab to configure sliver attributes." + m += "(Note that typical users have insufficient permission to " + m += "set most attributes.)" + m += "
  3. Under the Submit tab, click the Apply button " + m += "to submit your changes, or the Reset button to discard " + m += "them.

" + self.add(HTML(m)) class VINIHelpPanel(HelpPanel): def __init__(self): HelpPanel.__init__(self) - self.add(HTML("This is the VINI help panel")) + m = "
Steps to set up your slice:" + m += "
  1. Use the Nodes tab to select the nodes " + m += "on which your slice will run." + m += "
  2. Use the Links tab to create a virtual topology for " + m += "your slice, if desired. The virtual topology will be " + m += "computed automatically; virtual links can only be set up " + m += "between nodes that are adjacent in the network, and a virtual " + m += "link will be added between each pair of adjacent nodes. " + m += "You can remove any undesired virtual links or change " + m += "the bandwidth reserved to each link. " + m += "
  3. Use the Slivers tab to configure sliver attributes." + m += "(Note that typical users have insufficient permission to " + m += "set most attributes.)" + m += "
  4. Under the Submit tab, click the Apply button " + m += "to submit your changes, or the Reset button to discard " + m += "them.

" + self.add(HTML(m))