Use expandOwner/expandAdmin rather than removed expandLocker
[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="PORT" value="${port}">
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>