X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/f3c1b256ad0f930d2f7fc623ad538692a3829979..b6054ddecbc4d4a9b8e822ff8f0ace386e5e6e00:/templates/info.tmpl diff --git a/templates/info.tmpl b/templates/info.tmpl index 6ac0227..29b5907 100644 --- a/templates/info.tmpl +++ b/templates/info.tmpl @@ -5,17 +5,27 @@ 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() +
@@ -33,48 +43,74 @@ Info on $machine.name #if $on - - - + + + #else - + #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, disk size, or machine name, turn off the machine first.) #end if

-
- + + - - - + +$errorRow('owner', $err) + +$errorRow('administrator', $err) + +$errorRow('contact', $err) #if $machine.nics - + #end if +$errorRow('hostname', $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${helppopup("owner")}:
Administrator${helppopup("administrator")}:
Contact email:
Owner${helppopup("owner")}:
Administrator${helppopup("administrator")}:
Contact email:
Hostname:.servers.csail.mit.edu
Hostname:.servers.csail.mit.edu
Machine Name:
Ram:MB (max $max_mem)
Disk:GB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
Machine Name:
Ram:MB (max $max_mem)
Disk:GB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
+#end def + +#def body +

Info

+
+ $infoTable() +
+

Commands:

+
+ $commands() +
+

Change settings: +

+ $modifyForm() +
#end def