X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..dbd56d540e7ec9cbb22025f37c0a69278674d3bb:/code/templates/info.tmpl?ds=sidebyside diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index 26d7a24..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.
@@ -86,17 +124,22 @@ $errorRow('disk', $err) #end def #def body -

Info

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

Commands:

+

Commands

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

Change settings: +

Settings

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