more and better titles
[invirt/packages/invirt-web.git] / code / templates / vnc.tmpl
1 #from skeleton import skeleton
2 #extends skeleton
3
4 #def title
5 Console to $machine.name
6 #end def
7
8 #def body
9 #if not $on
10 <p> Your machine appears to be off.</p>
11 #else if not $has_vnc
12 <p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
13 #end if
14 <p>See <a href="help?subject=console" target="_blank">tips</a> about framebuffer and other issues.</p>
15 <APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
16         WIDTH="100%" HEIGHT="1000">
17 <PARAM NAME="PASSWORD" VALUE="moocow">
18 <PARAM NAME="PORT" VALUE="10003">
19 <PARAM NAME="HOST" VALUE="$hostname">
20 <PARAM NAME="VMNAME" VALUE="$machine.name">
21 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
22 <PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
23 </APPLET>
24 #end def