X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b812ecb815635726dca92b6c3725ac0a4bb86ab6..27dcf25cbe250f43ea32fc9bc7a4ec6691db66e9:/code/templates/info.tmpl?ds=inline diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index fa815ca..d872fce 100644 --- a/code/templates/info.tmpl +++ b/code/templates/info.tmpl @@ -15,37 +15,38 @@ 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 -
- - + + + #else - + #end if - - - - - - -
- #if $on - #if $has_vnc - Get Console - #else - VNC console not enabled; still booting? - #end if - #else - - #end if -
Boot CD:$cdromList()
+ +
+ Boot CD: +#filter None +$cdromList()#slurp +#end filter +
+
+ +
#end def @@ -61,27 +62,58 @@ Info on $machine.name
- + + +#filter None $errorRow('owner', $err) - +#end filter + +#filter None $errorRow('administrator', $err) +#end filter +#filter None $errorRow('contact', $err) +#end filter #if not $on - + +#filter None $errorRow('name', $err) +#end filter - - + + +#filter None $errorRow('memory', $err) - +#end filter + +#filter None $errorRow('disk', $err) +#end filter #else +#filter None $errorRow('name', $err) $errorRow('memory', $err) $errorRow('disk', $err) +#end filter #end if
Owner${helppopup("owner")}:
Description:
Owner#slurp +#filter None +$helppopup("Owner")#slurp +#end filter +:
Administrator${helppopup("administrator")}:
Administrator#slurp +#filter None +$helppopup("Administrator")#slurp +#end filter +:
Contact email:
Machine Name:
Machine Name:.${config.dns.domains[0]}
HVM/ParaVM$helppopup('hvm_paravm')$vmTypeList($defaults.type)HVM/ParaVM#slurp +#filter None +$helppopup('HVM/ParaVM')#slurp +#end filter +#slurp +#filter None +$vmTypeList($defaults.type)#slurp +#end filter +
Ram:MiB (max $max_mem)
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
@@ -90,15 +122,21 @@ $errorRow('disk', $err) #def body
+#filter None $infoTable() +#end filter

Commands

+#filter None $commands() +#end filter

Settings

+#filter None $modifyForm() +#end filter
#end def