source: package_branches/invirt-web/cherrypy/code/templates/vnc.mako @ 2472

Last change on this file since 2472 was 2414, checked in by quentin, 15 years ago

Port vnc page to Mako and CherryPy?

File size: 872 bytes
RevLine 
[2414]1<%page expression_filter="h" />
2<%inherit file="skeleton.mako" />
3
4<%def name="title()">
5Console to ${machine.name}
6</%def>
7
8<style type='text/css'>body { max-width: none }</style>
9% if not on:
10<p> Your machine appears to be off.</p>
11% elif not has_vnc:
12<p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
13% endif
14
15<p>See <a href="help?subject=Console" target="_blank">tips</a> about framebuffer and other issues.</p>
16<applet code="VncViewer.class" archive="https://${hostname}:446/static/VncViewer.jar"
17        width="100%" height="1000">
18<param name="PASSWORD" value="moocow">
19<param name="PORT" value="${port}">
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>
Note: See TracBrowser for help on using the repository browser.