source: trunk/packages/sipb-xen-www/code/templates/vnc.tmpl @ 962

Last change on this file since 962 was 667, checked in by price, 16 years ago

web: support sx-blade-2 for VNC applet

Currently hardcodes host->port mapping.
Put in database?

File size: 852 bytes
RevLine 
[113]1#from skeleton import skeleton
2#extends skeleton
3
4#def title
5Console to $machine.name
6#end def
7
8#def body
[427]9<style type='text/css'>body { max-width: none }</style>
[152]10#if not $on
11<p> Your machine appears to be off.</p>
12#else if not $has_vnc
13<p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
14#end if
[539]15<p>See <a href="help?subject=Console" target="_blank">tips</a> about framebuffer and other issues.</p>
[220]16<APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
[285]17        WIDTH="100%" HEIGHT="1000">
[133]18<PARAM NAME="PASSWORD" VALUE="moocow">
[667]19<PARAM NAME="PORT" VALUE="$port">
[113]20<PARAM NAME="HOST" VALUE="$hostname">
21<PARAM NAME="VMNAME" VALUE="$machine.name">
22<PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
23<PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
24</APPLET>
25#end def
Note: See TracBrowser for help on using the repository browser.