From: Greg Price Date: Sat, 6 Dec 2008 06:47:28 +0000 (-0500) Subject: web: info: move console message out of commands form table X-Git-Tag: 0.0.14~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/ab169aa6e4620964ab1565af48085f96d20037c4 web: info: move console message out of commands form table svn path=/trunk/packages/invirt-web/; revision=1791 --- diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index d115955..b090906 100644 --- a/code/templates/info.tmpl +++ b/code/templates/info.tmpl @@ -15,26 +15,21 @@ Info on $machine.name #end def #def commands() +#if $on + #if not $machine.type.hvm + Console access: type + ssh $machine.name@$config.console.hostname + on Athena. (more info) + #elif $has_vnc + Get Console + #else + VNC console not enabled; still booting? + #end if +#end if
- - #if $on
- #if $on - #if not $machine.type.hvm - Console access: type - ssh $machine.name@$config.console.hostname - on Athena. (more info) - #elif $has_vnc - Get Console - #else - VNC console not enabled; still booting? - #end if - #else - - #end if -