Make commands work from list and info pages
[invirt/packages/invirt-web.git] / code / templates / vnc.mako
1 <%page expression_filter="h" />
2 <%inherit file="skeleton.mako" />
3
4 <%def name="title()">
5 Console 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>