X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/867613f209f2f414afd261258c73b6adf4bdd905..ed3be7ee0d8af0cb884233327a3062c2be614d15:/templates/info.tmpl?ds=inline diff --git a/templates/info.tmpl b/templates/info.tmpl index f2ebe51..c0ff1ff 100644 --- a/templates/info.tmpl +++ b/templates/info.tmpl @@ -2,10 +2,101 @@ #extends skeleton #def title -Created! +Info on $machine.name +#end def + +#def infoTable() +

Info on ${machine.name}:

+ + #for $key, $value in $fields + + #end for +
$key:$value
+#end def + +#def commands() +
+ + + + + + + #if $on + + + + #else + + #end if + + + + + + +
+ #if $on + #if $has_vnc + Console + #else + VNC is not enabled + #end if + #else + + #end if +
Boot CD:$cdromList($cdroms)
+
+#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 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:
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

-

Info on ${machine.name}.

+
+ $infoTable() +
+ +

Commands:

+
+ $commands() +
+

Change settings: +

+ $modifyForm() +
#end def