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

Last change on this file since 424 was 422, checked in by price, 17 years ago

more and better titles

  • Title with <h1> on VM list
  • append 'SIPB Virtual Servers' to each title
  • only write title once per page
File size: 796 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
[152]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
[341]14<p>See <a href="help?subject=console" target="_blank">tips</a> about framebuffer and other issues.</p>
[220]15<APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
[285]16        WIDTH="100%" HEIGHT="1000">
[133]17<PARAM NAME="PASSWORD" VALUE="moocow">
[113]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
Note: See TracBrowser for help on using the repository browser.