1 from pyjamas.ui.VerticalPanel import VerticalPanel
2 from pyjamas.ui.HTML import HTML
3 from pyjamas.ui import HasAlignment
5 class HelpPanel(VerticalPanel):
7 VerticalPanel.__init__(self)
11 class PlanetLabHelpPanel(HelpPanel):
13 HelpPanel.__init__(self)
14 m = "<div class='infoProse'>Steps to set up your slice:"
15 m += "<ol><li>Use the <b>Nodes</b> tab to select the nodes "
16 m += "on which your slice will run."
17 m += "<li>Use the <b>Slivers</b> tab to configure sliver attributes."
18 m += "(Note that typical users have insufficient permission to "
19 m += "set most attributes.)"
20 m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
21 m += "to submit your changes, or the <i>Reset</i> button to discard "
22 m += "them.</ol></p></div>"
25 class VINIHelpPanel(HelpPanel):
27 HelpPanel.__init__(self)
28 m = "<div class='infoProse'>Steps to set up your slice:"
29 m += "<ol><li>Use the <b>Nodes</b> tab to select the nodes "
30 m += "on which your slice will run."
31 m += "<li>Use the <b>Links</b> tab to create a virtual topology for "
32 m += "your slice, if desired. The virtual topology will be "
33 m += "computed automatically; virtual links can only be set up "
34 m += "between nodes that are adjacent in the network, and a virtual "
35 m += "link will be added between each pair of adjacent nodes. "
36 m += "You can remove any undesired virtual links or change "
37 m += "the bandwidth reserved to each link. "
38 m += "<li>Use the <b>Slivers</b> tab to configure sliver attributes."
39 m += "(Note that typical users have insufficient permission to "
40 m += "set most attributes.)"
41 m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
42 m += "to submit your changes, or the <i>Reset</i> button to discard "
43 m += "them.</ol></p></div>"
46 class OCHelpPanel(HelpPanel):
48 HelpPanel.__init__(self)
49 m = "<div class='infoProse'>Steps to set up your slice:"
50 m += "<ol><li>Use the <b>Request</b> tab to request that some "
51 m += "VM instances be allocated to your slice."
52 m += "<li>Use the <b>Instances</b> tab to get information on "
53 m += "running VM instances."
54 m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
55 m += "to submit your changes, or the <i>Reset</i> button to discard "
56 m += "them.</ol></p></div>"