X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/61154617919ca57b6f1d4bed02aa9847ef14232a..ab926a56b79039d0c86cc2bd3f5a2faf7bbbfd43:/code/templates/info.tmpl diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index e5eb5eb..9346129 100644 --- a/code/templates/info.tmpl +++ b/code/templates/info.tmpl @@ -6,7 +6,7 @@ Info on $machine.name #end def #def infoTable() -

Info on ${machine.name}:

+

Info

#for $key, $value in $fields @@ -20,12 +20,12 @@ Info on $machine.name
$key:$value
- #if $on - - + + #else #end if - + @@ -58,27 +62,61 @@ Info on $machine.name #if $on (To edit ram, disk size, or machine name, turn off the machine first.) #end if -

+
#if $on #if $has_vnc - Console + Get Console #else - VNC is not enabled + VNC console not enabled; still booting? #end if #else @@ -33,14 +33,18 @@ Info on $machine.name
Boot CD:$cdromList($cdroms)#slurp +#filter None +$cdromList()#slurp +#end filter +
- + + +#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#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.
@@ -87,15 +125,21 @@ $errorRow('disk', $err) #def body
+#filter None $infoTable() +#end filter
-

Commands:

+

Commands

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

Change settings: +

Settings

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