X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/62582dea7be3b64db3e327a69a317b6777bce91d..4663602deda7a8c90d59c8d3a57cd5a3945d73ca:/templates/info.tmpl diff --git a/templates/info.tmpl b/templates/info.tmpl index 9f014f2..c0ff1ff 100644 --- a/templates/info.tmpl +++ b/templates/info.tmpl @@ -5,18 +5,18 @@ Info on $machine.name #end def - -#def body -

Info

+#def infoTable()

Info on ${machine.name}:

#for $key, $value in $fields #end for
$key:$value
+#end def -

Commands:

+#def commands()
+ @@ -40,39 +40,63 @@ Info on $machine.name #end if - + - +
Boot CD:$cdromList($cdroms)
-

Change settings: +#end def + +#def modifyForm() +#if $err +

We had a problem with your request:

+#else if $varExists('new_machine') +

Successfully modified.

+#end if #if $on -(To edit ram and disk size, turn off the machine first.) +(To edit ram, disk size, or machine name, turn off the machine first.) #end if

- + - - -#if $machine.nics - -#end if + +$errorRow('owner', $err) + +$errorRow('administrator', $err) + +$errorRow('contact', $err) #if not $on - - + +$errorRow('name', $err) + +$errorRow('memory', $err) + +$errorRow('disk', $err) +#else +$errorRow('name', $err) +$errorRow('memory', $err) +$errorRow('disk', $err) #end if
Owner:
Contact email:
Hostname:.servers.csail.mit.edu
Owner${helppopup("owner")}:
Administrator${helppopup("administrator")}:
Contact email:
Ram:MB (max $maxmem)
Disk:GB (max $maxdisk)
Machine Name:
Ram:MiB (max $max_mem)
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
+#end def + +#def body +

Info

+
+ $infoTable() +
+

Commands:

+
+ $commands() +
+

Change settings: +

+ $modifyForm() +
#end def