projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move out of the templates directory.
[invirt/packages/invirt-web.git]
/
templates
/
vnc.tmpl
diff --git
a/templates/vnc.tmpl
b/templates/vnc.tmpl
index
131a4ea
..
53de616
100644
(file)
--- a/
templates/vnc.tmpl
+++ b/
templates/vnc.tmpl
@@
-7,9
+7,14
@@
Console to $machine.name
#def body
<h1>Console</h1>
#def body
<h1>Console</h1>
+#if not $on
+<p> Your machine appears to be off.</p>
+#else if not $has_vnc
+<p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
+#end if
<p>Here is a console to ${machine.name}.</p>
<p>Here is a console to ${machine.name}.</p>
-<APPLET CODE="VncViewer.class" ARCHIVE="../VncViewer.jar"
- WIDTH="800" HEIGHT="632">
+<APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
+ WIDTH="100%" HEIGHT="100%">
<PARAM NAME="PASSWORD" VALUE="moocow">
<PARAM NAME="PORT" VALUE="10003">
<PARAM NAME="HOST" VALUE="$hostname">
<PARAM NAME="PASSWORD" VALUE="moocow">
<PARAM NAME="PORT" VALUE="10003">
<PARAM NAME="HOST" VALUE="$hostname">
@@
-17,7
+22,7
@@
Console to $machine.name
<PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
<PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
</APPLET>
<PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
<PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
</APPLET>
-<!--
+#*
java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory
java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory
--->
+*#
#end def
#end def